#3E144B#3E144B

#3E144B is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.103 H 317.2°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#3E144B
RGBrgb(62, 20, 75)
HSLhsl(286, 58%, 19%)
HSVhsv(286, 73%, 29%)
CMYKcmyk(17.3%, 73.3%, 0%, 70.6%)
CIE-LABlab(15.66, 30.00, -25.01)
CIE-LCHlch(15.66, 39.06, 320.18°)
OKLaboklab(28.59% 0.0758 -0.0701)
OKLCHoklch(28.59% 0.103 317.2)
XYZxyz(3.5066, 2.0326, 6.8629)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E144B #214B14
analogous
#22144B #3E144B #4B143C
triadic
#3E144B #4B3E14 #144B3E
tetradic
#3E144B #4B2214 #214B14 #143C4B
square
#3E144B #4B2214 #214B14 #143C4B
split-complementary
#3E144B #3C4B14 #144B22
monochromatic
#140618 #16071B #3E144B #66217B #8E2EAC

Accessibility & contrast

On white

14.93
#3E144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E144B
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E144B#FFFFFF#000000##FFFFFF
##3E144B1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01244D
Deuteranopia (green-blind)
#15284A
Tritanopia (blue-blind)
#3D1E2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e144b;
/* rgb */ color: rgb(62, 20, 75);
/* oklch */ color: oklch(28.6% 0.103 317.2);
Tailwind
colors: {
  custom: {
    50: '#75557d',
    500: '#3e144b',
    950: '#000000',
  },
}
SCSS
$custom: #3e144b;
$custom-light: #75557d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e144b",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 285.818,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28594,
    "c": 0.10327,
    "h": 317.2
  },
  "luminance": 0.02032
}

Semantic roles & 50–950 ramp

primary
#3E144B
secondary
#498338
accent
#E1476B
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E144B

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

Preview Lab → · Contrast checker → · Palette generator →

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