#39167B#39167B

#39167B is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.155 H 290.7°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#39167B
RGBrgb(57, 22, 123)
HSLhsl(261, 70%, 28%)
HSVhsv(261, 82%, 48%)
CMYKcmyk(53.7%, 82.1%, 0%, 51.8%)
CIE-LABlab(19.53, 40.81, -50.50)
CIE-LCHlch(19.53, 64.93, 308.95°)
OKLaboklab(32.49% 0.055 -0.1451)
OKLCHoklch(32.49% 0.155 290.7)
XYZxyz(5.5484, 2.8735, 18.9973)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39167B #587B16
analogous
#16257B #39167B #6B167B
triadic
#39167B #7B3916 #167B39
tetradic
#39167B #7B1625 #587B16 #167B6B
square
#39167B #7B1625 #587B16 #167B6B
split-complementary
#39167B #7B6B16 #257B16
monochromatic
#0C051A #210D47 #39167B #511FAF #6C31DA

Accessibility & contrast

On white

13.34
#39167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#39167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39167B
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39167B#FFFFFF#000000##FFFFFF
##39167B1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#213349
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39167b;
/* rgb */ color: rgb(57, 22, 123);
/* oklch */ color: oklch(32.5% 0.155 290.7);
Tailwind
colors: {
  custom: {
    50: '#7858a2',
    500: '#39167b',
    950: '#000000',
  },
}
SCSS
$custom: #39167b;
$custom-light: #7858a2;
$custom-dark: #000000;
JSON
{
  "hex": "#39167b",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 260.792,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32489,
    "c": 0.15519,
    "h": 290.7
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#39167B
secondary
#88B03D
accent
#EC3BAF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39167B

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

Preview Lab → · Contrast checker → · Palette generator →

#39167B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva