#39175A#39175A

#39175A is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.5% C 0.115 H 303.2°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#39175A
RGBrgb(57, 23, 90)
HSLhsl(270, 59%, 22%)
HSVhsv(270, 74%, 35%)
CMYKcmyk(36.7%, 74.4%, 0%, 64.7%)
CIE-LABlab(16.61, 31.01, -33.71)
CIE-LCHlch(16.61, 45.80, 312.61°)
OKLaboklab(29.48% 0.0628 -0.0959)
OKLCHoklch(29.48% 0.115 303.2)
XYZxyz(3.8388, 2.2208, 9.8973)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39175A #385A17
analogous
#18175A #39175A #5A175A
triadic
#39175A #5A3917 #175A39
tetradic
#39175A #5A1817 #385A17 #175A5A
square
#39175A #5A1817 #385A17 #175A5A
split-complementary
#39175A #5A5A17 #175A18
monochromatic
#0F0618 #1A0B29 #39175A #58238B #7730BB

Accessibility & contrast

On white

14.54
#39175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#39175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39175A
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39175A#FFFFFF#000000##FFFFFF
##39175A1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#322736
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #39175a;
/* rgb */ color: rgb(57, 23, 90);
/* oklch */ color: oklch(29.5% 0.115 303.2);
Tailwind
colors: {
  custom: {
    50: '#735789',
    500: '#39175a',
    950: '#000000',
  },
}
SCSS
$custom: #39175a;
$custom-light: #735789;
$custom-dark: #000000;
JSON
{
  "hex": "#39175a",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 270.448,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29478,
    "c": 0.1146,
    "h": 303.2
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#39175A
secondary
#66913C
accent
#E24593
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #39175A

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

Preview Lab → · Contrast checker → · Palette generator →

#39175A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva