#39177B#39177B

#39177B is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.154 H 290.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#39177B
RGBrgb(57, 23, 123)
HSLhsl(260, 68%, 29%)
HSVhsv(260, 81%, 48%)
CMYKcmyk(53.7%, 81.3%, 0%, 51.8%)
CIE-LABlab(19.69, 40.35, -50.23)
CIE-LCHlch(19.69, 64.43, 308.77°)
OKLaboklab(32.6% 0.0542 -0.1444)
OKLCHoklch(32.6% 0.154 290.6)
XYZxyz(5.5679, 2.9125, 19.0038)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39177B #597B17
analogous
#17277B #39177B #6B177B
triadic
#39177B #7B3917 #177B39
tetradic
#39177B #7B1727 #597B17 #177B6B
square
#39177B #7B1727 #597B17 #177B6B
split-complementary
#39177B #7B6B17 #277B17
monochromatic
#0C051A #210D47 #39177B #5121AF #6C33D9

Accessibility & contrast

On white

13.27
#39177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39177B
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39177B#FFFFFF#000000##FFFFFF
##39177B1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#213449
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39177b;
/* rgb */ color: rgb(57, 23, 123);
/* oklch */ color: oklch(32.6% 0.154 290.6);
Tailwind
colors: {
  custom: {
    50: '#7859a2',
    500: '#39177b',
    950: '#000000',
  },
}
SCSS
$custom: #39177b;
$custom-light: #7859a2;
$custom-dark: #000000;
JSON
{
  "hex": "#39177b",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 260.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.326,
    "c": 0.15422,
    "h": 290.6
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#39177B
secondary
#89B03E
accent
#EB3CB0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39177B

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

Preview Lab → · Contrast checker → · Palette generator →

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