#39174F#39174F

#39174F is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.101 H 309.4°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#39174F
RGBrgb(57, 23, 79)
HSLhsl(276, 55%, 20%)
HSVhsv(276, 71%, 31%)
CMYKcmyk(27.8%, 70.9%, 0%, 69%)
CIE-LABlab(15.73, 28.04, -27.68)
CIE-LCHlch(15.73, 39.40, 315.38°)
OKLaboklab(28.58% 0.0641 -0.0781)
OKLCHoklch(28.58% 0.101 309.4)
XYZxyz(3.4047, 2.0472, 7.6114)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39174F #2D4F17
analogous
#1D174F #39174F #4F1749
triadic
#39174F #4F3917 #174F39
tetradic
#39174F #4F1D17 #2D4F17 #17494F
square
#39174F #4F1D17 #2D4F17 #17494F
split-complementary
#39174F #494F17 #174F1D
monochromatic
#110718 #170920 #39174F #5B257E #7D33AE

Accessibility & contrast

On white

14.90
#39174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39174F
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39174F#FFFFFF#000000##FFFFFF
##39174F1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#0E284E
Tritanopia (blue-blind)
#362230
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39174f;
/* rgb */ color: rgb(57, 23, 79);
/* oklch */ color: oklch(28.6% 0.101 309.4);
Tailwind
colors: {
  custom: {
    50: '#725781',
    500: '#39174f',
    950: '#000000',
  },
}
SCSS
$custom: #39174f;
$custom-light: #725781;
$custom-dark: #000000;
JSON
{
  "hex": "#39174f",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 276.429,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.28575,
    "c": 0.10106,
    "h": 309.4
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#39174F
secondary
#59863C
accent
#DE4A84
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #39174F

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

Preview Lab → · Contrast checker → · Palette generator →

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