#3E184B#3E184B

#3E184B is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.2% C 0.097 H 316.5°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#3E184B
RGBrgb(62, 24, 75)
HSLhsl(285, 52%, 19%)
HSVhsv(285, 68%, 29%)
CMYKcmyk(17.3%, 68%, 0%, 70.6%)
CIE-LABlab(16.43, 27.86, -23.77)
CIE-LCHlch(16.43, 36.62, 319.52°)
OKLaboklab(29.15% 0.0702 -0.0666)
OKLCHoklch(29.15% 0.097 316.5)
XYZxyz(3.5830, 2.1855, 6.8884)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E184B #254B18
analogous
#25184B #3E184B #4B183F
triadic
#3E184B #4B3E18 #184B3E
tetradic
#3E184B #4B2518 #254B18 #183F4B
square
#3E184B #4B2518 #254B18 #183F4B
split-complementary
#3E184B #3F4B18 #184B25
monochromatic
#130717 #18091D #3E184B #642779 #8B36A8

Accessibility & contrast

On white

14.61
#3E184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3E184B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E184B
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E184B#FFFFFF#000000##FFFFFF
##3E184B1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08264D
Deuteranopia (green-blind)
#192A4A
Tritanopia (blue-blind)
#3D212F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e184b;
/* rgb */ color: rgb(62, 24, 75);
/* oklch */ color: oklch(29.2% 0.097 316.5);
Tailwind
colors: {
  custom: {
    50: '#75587d',
    500: '#3e184b',
    950: '#000000',
  },
}
SCSS
$custom: #3e184b;
$custom-light: #75587d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e184b",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 284.706,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29154,
    "c": 0.09676,
    "h": 316.5
  },
  "luminance": 0.02185
}

Semantic roles & 50–950 ramp

primary
#3E184B
secondary
#4F823D
accent
#DB4D71
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3E184B

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

Preview Lab → · Contrast checker → · Palette generator →

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