#3E124B#3E124B

#3E124B is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.3% C 0.106 H 317.5°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#3E124B
RGBrgb(62, 18, 75)
HSLhsl(286, 61%, 18%)
HSVhsv(286, 76%, 29%)
CMYKcmyk(17.3%, 76%, 0%, 70.6%)
CIE-LABlab(15.30, 30.99, -25.58)
CIE-LCHlch(15.30, 40.18, 320.46°)
OKLaboklab(28.34% 0.0784 -0.0718)
OKLCHoklch(28.34% 0.106 317.5)
XYZxyz(3.4727, 1.9649, 6.8516)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E124B #1F4B12
analogous
#21124B #3E124B #4B123B
triadic
#3E124B #4B3E12 #124B3E
tetradic
#3E124B #4B2112 #1F4B12 #123B4B
square
#3E124B #4B2112 #1F4B12 #123B4B
split-complementary
#3E124B #3B4B12 #124B21
monochromatic
#140619 #15061A #3E124B #671E7C #902AAE

Accessibility & contrast

On white

15.08
#3E124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3E124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E124B
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E124B#FFFFFF#000000##FFFFFF
##3E124B1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#14284A
Tritanopia (blue-blind)
#3E1D2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e124b;
/* rgb */ color: rgb(62, 18, 75);
/* oklch */ color: oklch(28.3% 0.106 317.5);
Tailwind
colors: {
  custom: {
    50: '#76547e',
    500: '#3e124b',
    950: '#000000',
  },
}
SCSS
$custom: #3e124b;
$custom-light: #76547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e124b",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 286.316,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28339,
    "c": 0.1063,
    "h": 317.5
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#3E124B
secondary
#478435
accent
#E44368
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E124B

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

Preview Lab → · Contrast checker → · Palette generator →

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