#39174E#39174E

#39174E is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.100 H 310.0°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#39174E
RGBrgb(57, 23, 78)
HSLhsl(277, 54%, 20%)
HSVhsv(277, 71%, 31%)
CMYKcmyk(26.9%, 70.5%, 0%, 69.4%)
CIE-LABlab(15.66, 27.78, -27.11)
CIE-LCHlch(15.66, 38.82, 315.70°)
OKLaboklab(28.5% 0.0641 -0.0765)
OKLCHoklch(28.5% 0.1 310)
XYZxyz(3.3686, 2.0328, 7.4212)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39174E #2C4E17
analogous
#1E174E #39174E #4E1748
triadic
#39174E #4E3917 #174E39
tetradic
#39174E #4E1E17 #2C4E17 #17484E
square
#39174E #4E1E17 #2C4E17 #17484E
split-complementary
#39174E #484E17 #174E1E
monochromatic
#110718 #16091F #39174E #5C257D #7E33AD

Accessibility & contrast

On white

14.93
#39174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#39174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39174E
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39174E#FFFFFF#000000##FFFFFF
##39174E1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002650
Deuteranopia (green-blind)
#10284D
Tritanopia (blue-blind)
#362230
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39174e;
/* rgb */ color: rgb(57, 23, 78);
/* oklch */ color: oklch(28.5% 0.100 310.0);
Tailwind
colors: {
  custom: {
    50: '#725680',
    500: '#39174e',
    950: '#000000',
  },
}
SCSS
$custom: #39174e;
$custom-light: #725680;
$custom-dark: #000000;
JSON
{
  "hex": "#39174e",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 277.091,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28497,
    "c": 0.09983,
    "h": 310
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#39174E
secondary
#58853C
accent
#DE4A82
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #39174E

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

Preview Lab → · Contrast checker → · Palette generator →

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