#39165B#39165B

#39165B is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.117 H 303.0°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#39165B
RGBrgb(57, 22, 91)
HSLhsl(270, 61%, 22%)
HSVhsv(270, 76%, 36%)
CMYKcmyk(37.4%, 75.8%, 0%, 64.3%)
CIE-LABlab(16.50, 31.82, -34.55)
CIE-LCHlch(16.50, 46.97, 312.64°)
OKLaboklab(29.43% 0.0638 -0.0984)
OKLCHoklch(29.43% 0.117 303)
XYZxyz(3.8621, 2.1990, 10.1165)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39165B #385B16
analogous
#17165B #39165B #5B165B
triadic
#39165B #5B3916 #165B39
tetradic
#39165B #5B1716 #385B16 #165B5B
square
#39165B #5B1716 #385B16 #165B5B
split-complementary
#39165B #5B5B16 #165B17
monochromatic
#0F0619 #1A0A2A #39165B #58228C #772EBE

Accessibility & contrast

On white

14.59
#39165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#39165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39165B
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39165B#FFFFFF#000000##FFFFFF
##39165B1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#322636
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #39165b;
/* rgb */ color: rgb(57, 22, 91);
/* oklch */ color: oklch(29.4% 0.117 303.0);
Tailwind
colors: {
  custom: {
    50: '#73568a',
    500: '#39165b',
    950: '#000000',
  },
}
SCSS
$custom: #39165b;
$custom-light: #73568a;
$custom-dark: #000000;
JSON
{
  "hex": "#39165b",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 270.435,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29428,
    "c": 0.11721,
    "h": 303
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#39165B
secondary
#66923B
accent
#E44493
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39165B

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

Preview Lab → · Contrast checker → · Palette generator →

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