#3E114B#3E114B

#3E114B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.108 H 317.7°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#3E114B
RGBrgb(62, 17, 75)
HSLhsl(287, 63%, 18%)
HSVhsv(287, 77%, 29%)
CMYKcmyk(17.3%, 77.3%, 0%, 70.6%)
CIE-LABlab(15.13, 31.47, -25.85)
CIE-LCHlch(15.13, 40.73, 320.60°)
OKLaboklab(28.22% 0.0796 -0.0726)
OKLCHoklch(28.22% 0.108 317.7)
XYZxyz(3.4569, 1.9332, 6.8463)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E114B #1E4B11
analogous
#21114B #3E114B #4B113B
triadic
#3E114B #4B3E11 #114B3E
tetradic
#3E114B #4B2111 #1E4B11 #113B4B
square
#3E114B #4B2111 #1E4B11 #113B4B
split-complementary
#3E114B #3B4B11 #114B21
monochromatic
#150619 #150619 #3E114B #671C7D #9028AF

Accessibility & contrast

On white

15.14
#3E114B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E114B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E114B#FFFFFF#000000##FFFFFF
##3E114B1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#13274A
Tritanopia (blue-blind)
#3E1C2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e114b;
/* rgb */ color: rgb(62, 17, 75);
/* oklch */ color: oklch(28.2% 0.108 317.7);
Tailwind
colors: {
  custom: {
    50: '#76547e',
    500: '#3e114b',
    950: '#000000',
  },
}
SCSS
$custom: #3e114b;
$custom-light: #76547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e114b",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 75
  },
  "hsl": {
    "h": 286.552,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28218,
    "c": 0.10774,
    "h": 317.7
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#3E114B
secondary
#468433
accent
#E64267
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E114B

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

Preview Lab → · Contrast checker → · Palette generator →

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