#3E124D#3E124D

#3E124D is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.108 H 316.2°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3E124D
RGBrgb(62, 18, 77)
HSLhsl(285, 62%, 19%)
HSVhsv(285, 77%, 30%)
CMYKcmyk(19.5%, 76.6%, 0%, 69.8%)
CIE-LABlab(15.45, 31.46, -26.72)
CIE-LCHlch(15.45, 41.27, 319.66°)
OKLaboklab(28.49% 0.0782 -0.0751)
OKLCHoklch(28.49% 0.108 316.2)
XYZxyz(3.5423, 1.9927, 7.2178)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E124D #214D12
analogous
#20124D #3E124D #4D123E
triadic
#3E124D #4D3E12 #124D3E
tetradic
#3E124D #4D2012 #214D12 #123E4D
square
#3E124D #4D2012 #214D12 #123E4D
split-complementary
#3E124D #3E4D12 #124D20
monochromatic
#140619 #16061B #3E124D #661E7F #8E29B0

Accessibility & contrast

On white

15.02
#3E124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3E124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E124D
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E124D#FFFFFF#000000##FFFFFF
##3E124D1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#12284C
Tritanopia (blue-blind)
#3D1E2E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e124d;
/* rgb */ color: rgb(62, 18, 77);
/* oklch */ color: oklch(28.5% 0.108 316.2);
Tailwind
colors: {
  custom: {
    50: '#76547f',
    500: '#3e124d',
    950: '#000000',
  },
}
SCSS
$custom: #3e124d;
$custom-light: #76547f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e124d",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 284.746,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28491,
    "c": 0.10846,
    "h": 316.2
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#3E124D
secondary
#498635
accent
#E5436C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E124D

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

Preview Lab → · Contrast checker → · Palette generator →

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