#3E0F57#3E0F57

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

Color values

HEX#3E0F57
RGBrgb(62, 15, 87)
HSLhsl(279, 71%, 20%)
HSVhsv(279, 83%, 34%)
CMYKcmyk(28.7%, 82.8%, 0%, 65.9%)
CIE-LABlab(15.77, 35.19, -33.01)
CIE-LCHlch(15.77, 48.25, 316.83°)
OKLaboklab(28.97% 0.08 -0.0936)
OKLCHoklch(28.97% 0.123 310.5)
XYZxyz(3.8774, 2.0540, 9.2072)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F57 #28570F
analogous
#1A0F57 #3E0F57 #570F4C
triadic
#3E0F57 #573E0F #0F573E
tetradic
#3E0F57 #571A0F #28570F #0F4C57
square
#3E0F57 #571A0F #28570F #0F4C57
split-complementary
#3E0F57 #4C570F #0F571A
monochromatic
#13051A #190623 #3E0F57 #63188B #8821BF

Accessibility & contrast

On white

14.89
#3E0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0F57
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F57#FFFFFF#000000##FFFFFF
##3E0F571.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.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: #3e0f57;
/* rgb */ color: rgb(62, 15, 87);
/* oklch */ color: oklch(29.0% 0.123 310.5);
Tailwind
colors: {
  custom: {
    50: '#775387',
    500: '#3e0f57',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f57;
$custom-light: #775387;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f57",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 279.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.28969,
    "c": 0.1231,
    "h": 310.5
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#3E0F57
secondary
#529131
accent
#ED3A79
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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