#39175C#39175C

#39175C is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.6% C 0.117 H 302.2°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#39175C
RGBrgb(57, 23, 92)
HSLhsl(270, 60%, 23%)
HSVhsv(270, 75%, 36%)
CMYKcmyk(38%, 75%, 0%, 63.9%)
CIE-LABlab(16.77, 31.56, -34.77)
CIE-LCHlch(16.77, 46.96, 312.22°)
OKLaboklab(29.65% 0.0624 -0.099)
OKLCHoklch(29.65% 0.117 302.2)
XYZxyz(3.9250, 2.2553, 10.3517)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39175C #3A5C17
analogous
#17185C #39175C #5B175C
triadic
#39175C #5C3917 #175C39
tetradic
#39175C #5C1718 #3A5C17 #175C5B
square
#39175C #5C1718 #3A5C17 #175C5B
split-complementary
#39175C #5C5B17 #185C17
monochromatic
#0F0618 #1B0B2B #39175C #57238D #762FBE

Accessibility & contrast

On white

14.47
#39175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#39175C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39175C
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39175C#FFFFFF#000000##FFFFFF
##39175C1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#322737
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #39175c;
/* rgb */ color: rgb(57, 23, 92);
/* oklch */ color: oklch(29.6% 0.117 302.2);
Tailwind
colors: {
  custom: {
    50: '#73578b',
    500: '#39175c',
    950: '#000000',
  },
}
SCSS
$custom: #39175c;
$custom-light: #73578b;
$custom-dark: #000000;
JSON
{
  "hex": "#39175c",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 269.565,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2965,
    "c": 0.11705,
    "h": 302.2
  },
  "luminance": 0.02255
}

Semantic roles & 50–950 ramp

primary
#39175C
secondary
#68933C
accent
#E34595
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39175C

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

Preview Lab → · Contrast checker → · Palette generator →

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