#39174B#39174B

#39174B is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.096 H 312.0°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#39174B
RGBrgb(57, 23, 75)
HSLhsl(279, 53%, 19%)
HSVhsv(279, 69%, 29%)
CMYKcmyk(24%, 69.3%, 0%, 70.6%)
CIE-LABlab(15.44, 27.00, -25.41)
CIE-LCHlch(15.44, 37.08, 316.74°)
OKLaboklab(28.27% 0.0643 -0.0715)
OKLCHoklch(28.27% 0.096 312)
XYZxyz(3.2635, 1.9907, 6.8676)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39174B #294B17
analogous
#1F174B #39174B #4B1743
triadic
#39174B #4B3917 #174B39
tetradic
#39174B #4B1F17 #294B17 #17434B
square
#39174B #4B1F17 #294B17 #17434B
split-complementary
#39174B #434B17 #174B1F
monochromatic
#120717 #15091C #39174B #5D257A #8034A9

Accessibility & contrast

On white

15.02
#39174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#39174B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39174B
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39174B#FFFFFF#000000##FFFFFF
##39174B1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03254D
Deuteranopia (green-blind)
#13274A
Tritanopia (blue-blind)
#37212E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39174b;
/* rgb */ color: rgb(57, 23, 75);
/* oklch */ color: oklch(28.3% 0.096 312.0);
Tailwind
colors: {
  custom: {
    50: '#71567d',
    500: '#39174b',
    950: '#000000',
  },
}
SCSS
$custom: #39174b;
$custom-light: #71567d;
$custom-dark: #000000;
JSON
{
  "hex": "#39174b",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 279.231,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28267,
    "c": 0.09615,
    "h": 312
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#39174B
secondary
#54823C
accent
#DC4B7E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #39174B

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

Preview Lab → · Contrast checker → · Palette generator →

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