#3E0E59#3E0E59

#3E0E59 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.126 H 309.6°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#3E0E59
RGBrgb(62, 14, 89)
HSLhsl(278, 73%, 20%)
HSVhsv(278, 84%, 35%)
CMYKcmyk(30.3%, 84.3%, 0%, 65.1%)
CIE-LABlab(15.80, 36.08, -34.31)
CIE-LCHlch(15.80, 49.79, 316.44°)
OKLaboklab(29.04% 0.0805 -0.0974)
OKLCHoklch(29.04% 0.126 309.6)
XYZxyz(3.9465, 2.0596, 9.6389)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0E59 #29590E
analogous
#180E59 #3E0E59 #590E4E
triadic
#3E0E59 #593E0E #0E593E
tetradic
#3E0E59 #59180E #29590E #0E4E59
square
#3E0E59 #59180E #29590E #0E4E59
split-complementary
#3E0E59 #4E590E #0E5918
monochromatic
#12041A #190624 #3E0E59 #63168E #881FC3

Accessibility & contrast

On white

14.87
#3E0E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3E0E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0E59
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0E59#FFFFFF#000000##FFFFFF
##3E0E591.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#3A2133
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e0e59;
/* rgb */ color: rgb(62, 14, 89);
/* oklch */ color: oklch(29.0% 0.126 309.6);
Tailwind
colors: {
  custom: {
    50: '#775388',
    500: '#3e0e59',
    950: '#000000',
  },
}
SCSS
$custom: #3e0e59;
$custom-light: #775388;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0e59",
  "rgb": {
    "r": 62,
    "g": 14,
    "b": 89
  },
  "hsl": {
    "h": 278.4,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29043,
    "c": 0.12634,
    "h": 309.6
  },
  "luminance": 0.02059
}

Semantic roles & 50–950 ramp

primary
#3E0E59
secondary
#539330
accent
#F0387A
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0E59

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

Preview Lab → · Contrast checker → · Palette generator →

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