#39157D#39157D

#39157D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.158 H 290.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#39157D
RGBrgb(57, 21, 125)
HSLhsl(261, 71%, 29%)
HSVhsv(261, 83%, 49%)
CMYKcmyk(54.4%, 83.2%, 0%, 51%)
CIE-LABlab(19.58, 41.83, -51.68)
CIE-LCHlch(19.58, 66.49, 308.98°)
OKLaboklab(32.59% 0.055 -0.1486)
OKLCHoklch(32.59% 0.158 290.3)
XYZxyz(5.6561, 2.8866, 19.6572)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39157D #597D15
analogous
#15257D #39157D #6D157D
triadic
#39157D #7D3915 #157D39
tetradic
#39157D #7D1525 #597D15 #157D6D
square
#39157D #7D1525 #597D15 #157D6D
split-complementary
#39157D #7D6D15 #257D15
monochromatic
#0C041A #210C49 #39157D #511EB1 #6C30DC

Accessibility & contrast

On white

13.31
#39157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#39157D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39157D
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39157D#FFFFFF#000000##FFFFFF
##39157D1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#20344A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39157d;
/* rgb */ color: rgb(57, 21, 125);
/* oklch */ color: oklch(32.6% 0.158 290.3);
Tailwind
colors: {
  custom: {
    50: '#7858a4',
    500: '#39157d',
    950: '#000000',
  },
}
SCSS
$custom: #39157d;
$custom-light: #7858a4;
$custom-dark: #000000;
JSON
{
  "hex": "#39157d",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 260.769,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32589,
    "c": 0.15844,
    "h": 290.3
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#39157D
secondary
#89B23C
accent
#EE3AB0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39157D

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

Preview Lab → · Contrast checker → · Palette generator →

#39157D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva