#3E0E57#3E0E57

#3E0E57 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.124 H 310.7°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#3E0E57
RGBrgb(62, 14, 87)
HSLhsl(279, 72%, 20%)
HSVhsv(279, 84%, 34%)
CMYKcmyk(28.7%, 83.9%, 0%, 65.9%)
CIE-LABlab(15.63, 35.60, -33.24)
CIE-LCHlch(15.63, 48.71, 316.96°)
OKLaboklab(28.87% 0.0809 -0.0942)
OKLCHoklch(28.87% 0.124 310.7)
XYZxyz(3.8636, 2.0264, 9.2026)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0E57 #27570E
analogous
#1A0E57 #3E0E57 #570E4C
triadic
#3E0E57 #573E0E #0E573E
tetradic
#3E0E57 #571A0E #27570E #0E4C57
square
#3E0E57 #571A0E #27570E #0E4C57
split-complementary
#3E0E57 #4C570E #0E571A
monochromatic
#13041A #180622 #3E0E57 #64168C #891FC0

Accessibility & contrast

On white

14.94
#3E0E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0E57
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0E57#FFFFFF#000000##FFFFFF
##3E0E571.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#002856
Tritanopia (blue-blind)
#3B2032
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e0e57;
/* rgb */ color: rgb(62, 14, 87);
/* oklch */ color: oklch(28.9% 0.124 310.7);
Tailwind
colors: {
  custom: {
    50: '#775387',
    500: '#3e0e57',
    950: '#000000',
  },
}
SCSS
$custom: #3e0e57;
$custom-light: #775387;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0e57",
  "rgb": {
    "r": 62,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 279.452,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28869,
    "c": 0.12424,
    "h": 310.7
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#3E0E57
secondary
#519130
accent
#EF3977
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0E57

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

Preview Lab → · Contrast checker → · Palette generator →

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