#3E114C#3E114C

#3E114C is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.109 H 317.0°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#3E114C
RGBrgb(62, 17, 76)
HSLhsl(286, 63%, 18%)
HSVhsv(286, 78%, 30%)
CMYKcmyk(18.4%, 77.6%, 0%, 70.2%)
CIE-LABlab(15.21, 31.70, -26.42)
CIE-LCHlch(15.21, 41.27, 320.19°)
OKLaboklab(28.29% 0.0795 -0.0742)
OKLCHoklch(28.29% 0.109 317)
XYZxyz(3.4914, 1.9470, 7.0280)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E114C #1F4C11
analogous
#20114C #3E114C #4C113C
triadic
#3E114C #4C3E11 #114C3E
tetradic
#3E114C #4C2011 #1F4C11 #113C4C
square
#3E114C #4C2011 #1F4C11 #113C4C
split-complementary
#3E114C #3C4C11 #114C20
monochromatic
#140619 #15061A #3E114C #671C7E #9027B0

Accessibility & contrast

On white

15.11
#3E114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E114C
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E114C#FFFFFF#000000##FFFFFF
##3E114C1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#12274B
Tritanopia (blue-blind)
#3D1D2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e114c;
/* rgb */ color: rgb(62, 17, 76);
/* oklch */ color: oklch(28.3% 0.109 317.0);
Tailwind
colors: {
  custom: {
    50: '#76547e',
    500: '#3e114c',
    950: '#000000',
  },
}
SCSS
$custom: #3e114c;
$custom-light: #76547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e114c",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 285.763,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28294,
    "c": 0.10881,
    "h": 317
  },
  "luminance": 0.01947
}

Semantic roles & 50–950 ramp

primary
#3E114C
secondary
#478533
accent
#E64169
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E114C

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

Preview Lab → · Contrast checker → · Palette generator →

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