#3E183F#3E183F

#3E183F is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.083 H 326.5°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#3E183F
RGBrgb(62, 24, 63)
HSLhsl(298, 45%, 17%)
HSVhsv(298, 62%, 25%)
CMYKcmyk(1.6%, 61.9%, 0%, 75.3%)
CIE-LABlab(15.68, 25.08, -16.65)
CIE-LCHlch(15.68, 30.11, 326.43°)
OKLaboklab(28.36% 0.0693 -0.0459)
OKLCHoklch(28.36% 0.083 326.5)
XYZxyz(3.2104, 2.0365, 4.9256)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E183F #193F18
analogous
#2B183F #3E183F #3F182D
triadic
#3E183F #3F3E18 #183F3E
tetradic
#3E183F #3F2B18 #193F18 #182D3F
square
#3E183F #3F2B18 #193F18 #182D3F
split-complementary
#3E183F #2D3F18 #183F2B
monochromatic
#160816 #160816 #3E183F #6A296B #953A98

Accessibility & contrast

On white

14.92
#3E183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3E183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E183F
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E183F#FFFFFF#000000##FFFFFF
##3E183F1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142440
Deuteranopia (green-blind)
#20293E
Tritanopia (blue-blind)
#401D28
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e183f;
/* rgb */ color: rgb(62, 24, 63);
/* oklch */ color: oklch(28.4% 0.083 326.5);
Tailwind
colors: {
  custom: {
    50: '#755774',
    500: '#3e183f',
    950: '#000000',
  },
}
SCSS
$custom: #3e183f;
$custom-light: #755774;
$custom-dark: #000000;
JSON
{
  "hex": "#3e183f",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 298.462,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28358,
    "c": 0.08311,
    "h": 326.5
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#3E183F
secondary
#3F753D
accent
#D55357
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3E183F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3E183F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva