#39174C#39174C

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

Color values

HEX#39174C
RGBrgb(57, 23, 76)
HSLhsl(278, 54%, 19%)
HSVhsv(278, 70%, 30%)
CMYKcmyk(25%, 69.7%, 0%, 70.2%)
CIE-LABlab(15.51, 27.26, -25.98)
CIE-LCHlch(15.51, 37.66, 316.38°)
OKLaboklab(28.34% 0.0642 -0.0732)
OKLCHoklch(28.34% 0.097 311.3)
XYZxyz(3.2980, 2.0045, 7.0493)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39174C #2A4C17
analogous
#1F174C #39174C #4C1745
triadic
#39174C #4C3917 #174C39
tetradic
#39174C #4C1F17 #2A4C17 #17454C
square
#39174C #4C1F17 #2A4C17 #17454C
split-complementary
#39174C #454C17 #174C1F
monochromatic
#120717 #16091D #39174C #5C257B #7F33AA

Accessibility & contrast

On white

14.99
#39174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39174C
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39174C#FFFFFF#000000##FFFFFF
##39174C1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01254E
Deuteranopia (green-blind)
#12274B
Tritanopia (blue-blind)
#37212F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39174c;
/* rgb */ color: rgb(57, 23, 76);
/* oklch */ color: oklch(28.3% 0.097 311.3);
Tailwind
colors: {
  custom: {
    50: '#71567e',
    500: '#39174c',
    950: '#000000',
  },
}
SCSS
$custom: #39174c;
$custom-light: #71567e;
$custom-dark: #000000;
JSON
{
  "hex": "#39174c",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 278.491,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28343,
    "c": 0.09738,
    "h": 311.3
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#39174C
secondary
#55833C
accent
#DD4B7F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #39174C

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

Preview Lab → · Contrast checker → · Palette generator →

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