#3E114D#3E114D

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

Color values

HEX#3E114D
RGBrgb(62, 17, 77)
HSLhsl(285, 64%, 18%)
HSVhsv(285, 78%, 30%)
CMYKcmyk(19.5%, 77.9%, 0%, 69.8%)
CIE-LABlab(15.28, 31.93, -26.99)
CIE-LCHlch(15.28, 41.81, 319.79°)
OKLaboklab(28.37% 0.0794 -0.0759)
OKLCHoklch(28.37% 0.11 316.3)
XYZxyz(3.5264, 1.9610, 7.2125)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E114D #204D11
analogous
#20114D #3E114D #4D113E
triadic
#3E114D #4D3E11 #114D3E
tetradic
#3E114D #4D2011 #204D11 #113E4D
square
#3E114D #4D2011 #204D11 #113E4D
split-complementary
#3E114D #3E4D11 #114D20
monochromatic
#140619 #16061B #3E114D #661C7F #8F27B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E114D#FFFFFF#000000##FFFFFF
##3E114D1.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)
#00244F
Deuteranopia (green-blind)
#11284C
Tritanopia (blue-blind)
#3D1D2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e114d;
/* rgb */ color: rgb(62, 17, 77);
/* oklch */ color: oklch(28.4% 0.110 316.3);
Tailwind
colors: {
  custom: {
    50: '#76547f',
    500: '#3e114d',
    950: '#000000',
  },
}
SCSS
$custom: #3e114d;
$custom-light: #76547f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e114d",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 285,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28372,
    "c": 0.10988,
    "h": 316.3
  },
  "luminance": 0.01961
}

Semantic roles & 50–950 ramp

primary
#3E114D
secondary
#488633
accent
#E7416A
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E114D

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

Preview Lab → · Contrast checker → · Palette generator →

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