#39167A#39167A

#39167A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.154 H 291.0°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#39167A
RGBrgb(57, 22, 122)
HSLhsl(261, 69%, 28%)
HSVhsv(261, 82%, 48%)
CMYKcmyk(53.3%, 82%, 0%, 52.2%)
CIE-LABlab(19.43, 40.53, -50.03)
CIE-LCHlch(19.43, 64.39, 309.01°)
OKLaboklab(32.39% 0.0553 -0.1438)
OKLCHoklch(32.39% 0.154 291)
XYZxyz(5.4861, 2.8486, 18.6693)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39167A #577A16
analogous
#16257A #39167A #6B167A
triadic
#39167A #7A3916 #167A39
tetradic
#39167A #7A1625 #577A16 #167A6B
square
#39167A #7A1625 #577A16 #167A6B
split-complementary
#39167A #7A6B16 #257A16
monochromatic
#0C051A #210D46 #39167A #511FAE #6C31DA

Accessibility & contrast

On white

13.38
#39167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39167A
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39167A#FFFFFF#000000##FFFFFF
##39167A1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#223348
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39167a;
/* rgb */ color: rgb(57, 22, 122);
/* oklch */ color: oklch(32.4% 0.154 291.0);
Tailwind
colors: {
  custom: {
    50: '#7758a1',
    500: '#39167a',
    950: '#000000',
  },
}
SCSS
$custom: #39167a;
$custom-light: #7758a1;
$custom-dark: #000000;
JSON
{
  "hex": "#39167a",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 261,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32386,
    "c": 0.15404,
    "h": 291
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#39167A
secondary
#87AF3D
accent
#EC3CAE
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39167A

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

Preview Lab → · Contrast checker → · Palette generator →

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