#3E104F#3E104F

#3E104F is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.113 H 315.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#3E104F
RGBrgb(62, 16, 79)
HSLhsl(284, 66%, 19%)
HSVhsv(284, 80%, 31%)
CMYKcmyk(21.5%, 79.7%, 0%, 69%)
CIE-LABlab(15.27, 32.85, -28.37)
CIE-LCHlch(15.27, 43.41, 319.18°)
OKLaboklab(28.41% 0.0804 -0.08)
OKLCHoklch(28.41% 0.113 315.1)
XYZxyz(3.5830, 1.9594, 7.5851)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E104F #214F10
analogous
#1E104F #3E104F #4F1040
triadic
#3E104F #4F3E10 #104F3E
tetradic
#3E104F #4F1E10 #214F10 #10404F
square
#3E104F #4F1E10 #214F10 #10404F
split-complementary
#3E104F #404F10 #104F1E
monochromatic
#140519 #16061C #3E104F #661A82 #8E25B5

Accessibility & contrast

On white

15.09
#3E104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E104F
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E104F#FFFFFF#000000##FFFFFF
##3E104F1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#0E274E
Tritanopia (blue-blind)
#3D1D2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e104f;
/* rgb */ color: rgb(62, 16, 79);
/* oklch */ color: oklch(28.4% 0.113 315.1);
Tailwind
colors: {
  custom: {
    50: '#765381',
    500: '#3e104f',
    950: '#000000',
  },
}
SCSS
$custom: #3e104f;
$custom-light: #765381;
$custom-dark: #000000;
JSON
{
  "hex": "#3e104f",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 283.81,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28414,
    "c": 0.11337,
    "h": 315.1
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#3E104F
secondary
#498932
accent
#E93F6D
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E104F

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

Preview Lab → · Contrast checker → · Palette generator →

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