#39137E#39137E

#39137E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.5% C 0.161 H 290.3°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#39137E
RGBrgb(57, 19, 126)
HSLhsl(261, 74%, 28%)
HSVhsv(261, 85%, 49%)
CMYKcmyk(54.8%, 84.9%, 0%, 50.6%)
CIE-LABlab(19.40, 42.96, -52.63)
CIE-LCHlch(19.40, 67.93, 309.23°)
OKLaboklab(32.49% 0.056 -0.1513)
OKLCHoklch(32.49% 0.161 290.3)
XYZxyz(5.6850, 2.8417, 19.9836)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39137E #587E13
analogous
#13237E #39137E #6E137E
triadic
#39137E #7E3913 #137E39
tetradic
#39137E #7E1323 #587E13 #137E6E
square
#39137E #7E1323 #587E13 #137E6E
split-complementary
#39137E #7E6E13 #237E13
monochromatic
#0C041B #210B49 #39137E #511BB3 #6C2CDF

Accessibility & contrast

On white

13.39
#39137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#39137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39137E
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39137E#FFFFFF#000000##FFFFFF
##39137E1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#1F334A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39137e;
/* rgb */ color: rgb(57, 19, 126);
/* oklch */ color: oklch(32.5% 0.161 290.3);
Tailwind
colors: {
  custom: {
    50: '#7857a4',
    500: '#39137e',
    950: '#000000',
  },
}
SCSS
$custom: #39137e;
$custom-light: #7857a4;
$custom-dark: #000000;
JSON
{
  "hex": "#39137e",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 261.308,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32493,
    "c": 0.16135,
    "h": 290.3
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#39137E
secondary
#88B439
accent
#F037AF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #39137E

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

Preview Lab → · Contrast checker → · Palette generator →

#39137E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva