#39177A#39177A

#39177A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.153 H 290.9°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#39177A
RGBrgb(57, 23, 122)
HSLhsl(261, 68%, 28%)
HSVhsv(261, 81%, 48%)
CMYKcmyk(53.3%, 81.1%, 0%, 52.2%)
CIE-LABlab(19.59, 40.06, -49.76)
CIE-LCHlch(19.59, 63.89, 308.84°)
OKLaboklab(32.5% 0.0545 -0.143)
OKLCHoklch(32.5% 0.153 290.9)
XYZxyz(5.5056, 2.8876, 18.6758)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39177A #587A17
analogous
#17267A #39177A #6A177A
triadic
#39177A #7A3917 #177A39
tetradic
#39177A #7A1726 #587A17 #177A6A
square
#39177A #7A1726 #587A17 #177A6A
split-complementary
#39177A #7A6A17 #267A17
monochromatic
#0C051A #210D47 #39177A #5121AD #6C33D9

Accessibility & contrast

On white

13.31
#39177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#39177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39177A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39177A#FFFFFF#000000##FFFFFF
##39177A1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.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: #39177a;
/* rgb */ color: rgb(57, 23, 122);
/* oklch */ color: oklch(32.5% 0.153 290.9);
Tailwind
colors: {
  custom: {
    50: '#7759a1',
    500: '#39177a',
    950: '#000000',
  },
}
SCSS
$custom: #39177a;
$custom-light: #7759a1;
$custom-dark: #000000;
JSON
{
  "hex": "#39177a",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 260.606,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32498,
    "c": 0.15305,
    "h": 290.9
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#39177A
secondary
#88AF3E
accent
#EB3DAF
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #39177A

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

Preview Lab → · Contrast checker → · Palette generator →

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