#39175B#39175B

#39175B is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.6% C 0.116 H 302.7°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#39175B
RGBrgb(57, 23, 91)
HSLhsl(270, 60%, 22%)
HSVhsv(270, 75%, 36%)
CMYKcmyk(37.4%, 74.7%, 0%, 64.3%)
CIE-LABlab(16.69, 31.28, -34.24)
CIE-LCHlch(16.69, 46.38, 312.41°)
OKLaboklab(29.56% 0.0626 -0.0974)
OKLCHoklch(29.56% 0.116 302.7)
XYZxyz(3.8816, 2.2380, 10.1230)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39175B #395B17
analogous
#17175B #39175B #5B175B
triadic
#39175B #5B3917 #175B39
tetradic
#39175B #5B1717 #395B17 #175B5B
square
#39175B #5B1717 #395B17 #175B5B
split-complementary
#39175B #5B5B17 #175B17
monochromatic
#0F0618 #1A0B2A #39175B #58238C #7630BD

Accessibility & contrast

On white

14.51
#39175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39175B
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39175B#FFFFFF#000000##FFFFFF
##39175B1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39175b;
/* rgb */ color: rgb(57, 23, 91);
/* oklch */ color: oklch(29.6% 0.116 302.7);
Tailwind
colors: {
  custom: {
    50: '#73578a',
    500: '#39175b',
    950: '#000000',
  },
}
SCSS
$custom: #39175b;
$custom-light: #73578a;
$custom-dark: #000000;
JSON
{
  "hex": "#39175b",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 270,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29564,
    "c": 0.11582,
    "h": 302.7
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#39175B
secondary
#67923C
accent
#E34594
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39175B

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

Preview Lab → · Contrast checker → · Palette generator →

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