#3E114F#3E114F

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

Color values

HEX#3E114F
RGBrgb(62, 17, 79)
HSLhsl(284, 65%, 19%)
HSVhsv(284, 78%, 31%)
CMYKcmyk(21.5%, 78.5%, 0%, 69%)
CIE-LABlab(15.43, 32.40, -28.12)
CIE-LCHlch(15.43, 42.90, 319.05°)
OKLaboklab(28.53% 0.0792 -0.0792)
OKLCHoklch(28.53% 0.112 315)
XYZxyz(3.5981, 1.9897, 7.5901)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E114F #224F11
analogous
#1F114F #3E114F #4F1141
triadic
#3E114F #4F3E11 #114F3E
tetradic
#3E114F #4F1F11 #224F11 #11414F
square
#3E114F #4F1F11 #224F11 #11414F
split-complementary
#3E114F #414F11 #114F1F
monochromatic
#140519 #16061D #3E114F #661C81 #8D27B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E114F#FFFFFF#000000##FFFFFF
##3E114F1.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)
#002451
Deuteranopia (green-blind)
#0F284E
Tritanopia (blue-blind)
#3D1E2E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e114f;
/* rgb */ color: rgb(62, 17, 79);
/* oklch */ color: oklch(28.5% 0.112 315.0);
Tailwind
colors: {
  custom: {
    50: '#765481',
    500: '#3e114f',
    950: '#000000',
  },
}
SCSS
$custom: #3e114f;
$custom-light: #765481;
$custom-dark: #000000;
JSON
{
  "hex": "#3e114f",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 283.548,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28528,
    "c": 0.11203,
    "h": 315
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#3E114F
secondary
#4B8833
accent
#E8406E
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E114F

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

Preview Lab → · Contrast checker → · Palette generator →

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