#3E104A#3E104A

#3E104A is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.108 H 318.5°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#3E104A
RGBrgb(62, 16, 74)
HSLhsl(288, 64%, 18%)
HSVhsv(288, 78%, 29%)
CMYKcmyk(16.2%, 78.4%, 0%, 71%)
CIE-LABlab(14.90, 31.70, -25.54)
CIE-LCHlch(14.90, 40.71, 321.14°)
OKLaboklab(28.03% 0.0809 -0.0717)
OKLCHoklch(28.03% 0.108 318.5)
XYZxyz(3.4078, 1.8893, 6.6624)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E104A #1C4A10
analogous
#21104A #3E104A #4A1039
triadic
#3E104A #4A3E10 #104A3E
tetradic
#3E104A #4A2110 #1C4A10 #10394A
square
#3E104A #4A2110 #1C4A10 #10394A
split-complementary
#3E104A #394A10 #104A21
monochromatic
#150519 #150519 #3E104A #681B7C #9226AF

Accessibility & contrast

On white

15.24
#3E104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E104A
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E104A#FFFFFF#000000##FFFFFF
##3E104A1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#132749
Tritanopia (blue-blind)
#3E1B2B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e104a;
/* rgb */ color: rgb(62, 16, 74);
/* oklch */ color: oklch(28.0% 0.108 318.5);
Tailwind
colors: {
  custom: {
    50: '#76537d',
    500: '#3e104a',
    950: '#000000',
  },
}
SCSS
$custom: #3e104a;
$custom-light: #76537d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e104a",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 287.586,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28025,
    "c": 0.1081,
    "h": 318.5
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#3E104A
secondary
#438432
accent
#E74063
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E104A

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

Preview Lab → · Contrast checker → · Palette generator →

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