#39177D#39177D

#39177D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.157 H 290.0°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#39177D
RGBrgb(57, 23, 125)
HSLhsl(260, 69%, 29%)
HSVhsv(260, 82%, 49%)
CMYKcmyk(54.4%, 81.6%, 0%, 51%)
CIE-LABlab(19.90, 40.92, -51.17)
CIE-LCHlch(19.90, 65.52, 308.65°)
OKLaboklab(32.81% 0.0535 -0.1471)
OKLCHoklch(32.81% 0.157 290)
XYZxyz(5.6943, 2.9631, 19.6699)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39177D #5B7D17
analogous
#17287D #39177D #6C177D
triadic
#39177D #7D3917 #177D39
tetradic
#39177D #7D1728 #5B7D17 #177D6C
square
#39177D #7D1728 #5B7D17 #177D6C
split-complementary
#39177D #7D6C17 #287D17
monochromatic
#0C051A #210D49 #39177D #5121B1 #6C35DA

Accessibility & contrast

On white

13.19
#39177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#39177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39177D
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39177D#FFFFFF#000000##FFFFFF
##39177D1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#1F354A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39177d;
/* rgb */ color: rgb(57, 23, 125);
/* oklch */ color: oklch(32.8% 0.157 290.0);
Tailwind
colors: {
  custom: {
    50: '#7859a4',
    500: '#39177d',
    950: '#000000',
  },
}
SCSS
$custom: #39177d;
$custom-light: #7859a4;
$custom-dark: #000000;
JSON
{
  "hex": "#39177d",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 260,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32805,
    "c": 0.15657,
    "h": 290
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#39177D
secondary
#8BB23E
accent
#EC3CB1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39177D

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

Preview Lab → · Contrast checker → · Palette generator →

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