#3E184A#3E184A

#3E184A is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.1% C 0.096 H 317.3°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#3E184A
RGBrgb(62, 24, 74)
HSLhsl(286, 51%, 19%)
HSVhsv(286, 68%, 29%)
CMYKcmyk(16.2%, 67.6%, 0%, 71%)
CIE-LABlab(16.36, 27.62, -23.20)
CIE-LCHlch(16.36, 36.07, 319.97°)
OKLaboklab(29.08% 0.0702 -0.0649)
OKLCHoklch(29.08% 0.096 317.3)
XYZxyz(3.5491, 2.1719, 6.7095)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E184A #244A18
analogous
#25184A #3E184A #4A183D
triadic
#3E184A #4A3E18 #184A3E
tetradic
#3E184A #4A2518 #244A18 #183D4A
square
#3E184A #4A2518 #244A18 #183D4A
split-complementary
#3E184A #3D4A18 #184A25
monochromatic
#130717 #17091C #3E184A #652778 #8B36A6

Accessibility & contrast

On white

14.64
#3E184A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3E184A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E184A
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E184A#FFFFFF#000000##FFFFFF
##3E184A1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A264C
Deuteranopia (green-blind)
#192A49
Tritanopia (blue-blind)
#3E212E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e184a;
/* rgb */ color: rgb(62, 24, 74);
/* oklch */ color: oklch(29.1% 0.096 317.3);
Tailwind
colors: {
  custom: {
    50: '#75577d',
    500: '#3e184a',
    950: '#000000',
  },
}
SCSS
$custom: #3e184a;
$custom-light: #75577d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e184a",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 285.6,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29083,
    "c": 0.09558,
    "h": 317.3
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#3E184A
secondary
#4D813D
accent
#DA4D6F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E184A

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

Preview Lab → · Contrast checker → · Palette generator →

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