#3E113F#3E113F

#3E113F is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.095 H 326.9°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#3E113F
RGBrgb(62, 17, 63)
HSLhsl(299, 58%, 16%)
HSVhsv(299, 73%, 25%)
CMYKcmyk(1.6%, 73%, 0%, 75.3%)
CIE-LABlab(14.31, 28.83, -18.80)
CIE-LCHlch(14.31, 34.42, 326.89°)
OKLaboklab(27.36% 0.0798 -0.052)
OKLCHoklch(27.36% 0.095 326.9)
XYZxyz(3.0842, 1.7841, 4.8836)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E113F #123F11
analogous
#27113F #3E113F #3F1129
triadic
#3E113F #3F3E11 #113F3E
tetradic
#3E113F #3F2711 #123F11 #11293F
square
#3E113F #3F2711 #123F11 #11293F
split-complementary
#3E113F #293F11 #113F27
monochromatic
#180718 #180718 #3E113F #6D1E6F #9D2B9F

Accessibility & contrast

On white

15.48
#3E113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3E113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E113F
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E113F#FFFFFF#000000##FFFFFF
##3E113F1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2140
Deuteranopia (green-blind)
#1B263E
Tritanopia (blue-blind)
#401726
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e113f;
/* rgb */ color: rgb(62, 17, 63);
/* oklch */ color: oklch(27.4% 0.095 326.9);
Tailwind
colors: {
  custom: {
    50: '#755374',
    500: '#3e113f',
    950: '#000000',
  },
}
SCSS
$custom: #3e113f;
$custom-light: #755374;
$custom-dark: #000000;
JSON
{
  "hex": "#3e113f",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 298.696,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27363,
    "c": 0.09527,
    "h": 326.9
  },
  "luminance": 0.01784
}

Semantic roles & 50–950 ramp

primary
#3E113F
secondary
#357833
accent
#E1474A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3E113F

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

Preview Lab → · Contrast checker → · Palette generator →

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