#39165E#39165E

#39165E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.7% C 0.121 H 301.5°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#39165E
RGBrgb(57, 22, 94)
HSLhsl(269, 62%, 23%)
HSVhsv(269, 77%, 37%)
CMYKcmyk(39.4%, 76.6%, 0%, 63.1%)
CIE-LABlab(16.76, 32.64, -36.14)
CIE-LCHlch(16.76, 48.69, 312.09°)
OKLaboklab(29.69% 0.0632 -0.103)
OKLCHoklch(29.69% 0.121 301.5)
XYZxyz(3.9941, 2.2518, 10.8117)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39165E #3B5E16
analogous
#16175E #39165E #5D165E
triadic
#39165E #5E3916 #165E39
tetradic
#39165E #5E1617 #3B5E16 #165E5D
square
#39165E #5E1617 #3B5E16 #165E5D
split-complementary
#39165E #5E5D16 #175E16
monochromatic
#0F0619 #1B0A2C #39165E #572290 #752DC1

Accessibility & contrast

On white

14.48
#39165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#39165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39165E
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39165E#FFFFFF#000000##FFFFFF
##39165E1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#312838
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #39165e;
/* rgb */ color: rgb(57, 22, 94);
/* oklch */ color: oklch(29.7% 0.121 301.5);
Tailwind
colors: {
  custom: {
    50: '#73578c',
    500: '#39165e',
    950: '#000000',
  },
}
SCSS
$custom: #39165e;
$custom-light: #73578c;
$custom-dark: #000000;
JSON
{
  "hex": "#39165e",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 269.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29692,
    "c": 0.12084,
    "h": 301.5
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#39165E
secondary
#69953B
accent
#E54396
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39165E

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

Preview Lab → · Contrast checker → · Palette generator →

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