#3E114A#3E114A

#3E114A is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.107 H 318.3°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#3E114A
RGBrgb(62, 17, 74)
HSLhsl(287, 63%, 18%)
HSVhsv(287, 77%, 29%)
CMYKcmyk(16.2%, 77%, 0%, 71%)
CIE-LABlab(15.06, 31.24, -25.28)
CIE-LCHlch(15.06, 40.19, 321.02°)
OKLaboklab(28.14% 0.0797 -0.0709)
OKLCHoklch(28.14% 0.107 318.3)
XYZxyz(3.4229, 1.9196, 6.6675)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E114A #1D4A11
analogous
#21114A #3E114A #4A1139
triadic
#3E114A #4A3E11 #114A3E
tetradic
#3E114A #4A2111 #1D4A11 #11394A
square
#3E114A #4A2111 #1D4A11 #11394A
split-complementary
#3E114A #394A11 #114A21
monochromatic
#150619 #150619 #3E114A #681C7C #9128AE

Accessibility & contrast

On white

15.18
#3E114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3E114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E114A
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E114A#FFFFFF#000000##FFFFFF
##3E114A1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#142749
Tritanopia (blue-blind)
#3E1C2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e114a;
/* rgb */ color: rgb(62, 17, 74);
/* oklch */ color: oklch(28.1% 0.107 318.3);
Tailwind
colors: {
  custom: {
    50: '#76547d',
    500: '#3e114a',
    950: '#000000',
  },
}
SCSS
$custom: #3e114a;
$custom-light: #76547d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e114a",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 287.368,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28142,
    "c": 0.10667,
    "h": 318.3
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#3E114A
secondary
#448333
accent
#E64265
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E114A

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

Preview Lab → · Contrast checker → · Palette generator →

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