#39167F#39167F

#39167F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.160 H 289.6°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#39167F
RGBrgb(57, 22, 127)
HSLhsl(260, 70%, 29%)
HSVhsv(260, 83%, 50%)
CMYKcmyk(55.1%, 82.7%, 0%, 50.2%)
CIE-LABlab(19.95, 41.95, -52.36)
CIE-LCHlch(19.95, 67.09, 308.70°)
OKLaboklab(32.9% 0.0536 -0.1506)
OKLCHoklch(32.9% 0.16 289.6)
XYZxyz(5.8039, 2.9757, 20.3431)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39167F #5C7F16
analogous
#16287F #39167F #6E167F
triadic
#39167F #7F3916 #167F39
tetradic
#39167F #7F1628 #5C7F16 #167F6E
square
#39167F #7F1628 #5C7F16 #167F6E
split-complementary
#39167F #7F6E16 #287F16
monochromatic
#0C051A #220D4B #39167F #501FB3 #6C34DC

Accessibility & contrast

On white

13.16
#39167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#39167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39167F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39167F#FFFFFF#000000##FFFFFF
##39167F1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#1E354B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39167f;
/* rgb */ color: rgb(57, 22, 127);
/* oklch */ color: oklch(32.9% 0.160 289.6);
Tailwind
colors: {
  custom: {
    50: '#7859a5',
    500: '#39167f',
    950: '#000000',
  },
}
SCSS
$custom: #39167f;
$custom-light: #7859a5;
$custom-dark: #000000;
JSON
{
  "hex": "#39167f",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 260,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32903,
    "c": 0.15983,
    "h": 289.6
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#39167F
secondary
#8CB43D
accent
#ED3BB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39167F

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

Preview Lab → · Contrast checker → · Palette generator →

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