#39175D#39175D

#39175D is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.118 H 301.8°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#39175D
RGBrgb(57, 23, 93)
HSLhsl(269, 60%, 23%)
HSVhsv(269, 75%, 36%)
CMYKcmyk(38.7%, 75.3%, 0%, 63.5%)
CIE-LABlab(16.86, 31.83, -35.30)
CIE-LCHlch(16.86, 47.54, 312.04°)
OKLaboklab(29.74% 0.0623 -0.1006)
OKLCHoklch(29.74% 0.118 301.8)
XYZxyz(3.9690, 2.2729, 10.5834)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39175D #3B5D17
analogous
#17185D #39175D #5C175D
triadic
#39175D #5D3917 #175D39
tetradic
#39175D #5D1718 #3B5D17 #175D5C
square
#39175D #5D1718 #3B5D17 #175D5C
split-complementary
#39175D #5D5C17 #185D17
monochromatic
#0F0619 #1B0B2C #39175D #57238E #752FBF

Accessibility & contrast

On white

14.44
#39175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39175D
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39175D#FFFFFF#000000##FFFFFF
##39175D1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#312838
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #39175d;
/* rgb */ color: rgb(57, 23, 93);
/* oklch */ color: oklch(29.7% 0.118 301.8);
Tailwind
colors: {
  custom: {
    50: '#73578b',
    500: '#39175d',
    950: '#000000',
  },
}
SCSS
$custom: #39175d;
$custom-light: #73578b;
$custom-dark: #000000;
JSON
{
  "hex": "#39175d",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 269.143,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29738,
    "c": 0.11828,
    "h": 301.8
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#39175D
secondary
#69943C
accent
#E34496
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39175D

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

Preview Lab → · Contrast checker → · Palette generator →

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