#39177E#39177E

#39177E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.158 H 289.7°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#39177E
RGBrgb(57, 23, 126)
HSLhsl(260, 69%, 29%)
HSVhsv(260, 82%, 49%)
CMYKcmyk(54.8%, 81.7%, 0%, 50.6%)
CIE-LABlab(20.00, 41.21, -51.64)
CIE-LCHlch(20.00, 66.07, 308.59°)
OKLaboklab(32.91% 0.0532 -0.1485)
OKLCHoklch(32.91% 0.158 289.7)
XYZxyz(5.7585, 2.9887, 20.0081)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39177E #5C7E17
analogous
#17287E #39177E #6D177E
triadic
#39177E #7E3917 #177E39
tetradic
#39177E #7E1728 #5C7E17 #177E6D
square
#39177E #7E1728 #5C7E17 #177E6D
split-complementary
#39177E #7E6D17 #287E17
monochromatic
#0C051A #220E4A #39177E #5020B2 #6C35DA

Accessibility & contrast

On white

13.14
#39177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#39177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39177E
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39177E#FFFFFF#000000##FFFFFF
##39177E1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#1F354B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39177e;
/* rgb */ color: rgb(57, 23, 126);
/* oklch */ color: oklch(32.9% 0.158 289.7);
Tailwind
colors: {
  custom: {
    50: '#7859a4',
    500: '#39177e',
    950: '#000000',
  },
}
SCSS
$custom: #39177e;
$custom-light: #7859a4;
$custom-dark: #000000;
JSON
{
  "hex": "#39177e",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 259.806,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32908,
    "c": 0.15773,
    "h": 289.7
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#39177E
secondary
#8CB33E
accent
#EC3CB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39177E

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

Preview Lab → · Contrast checker → · Palette generator →

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