#39175E#39175E

#39175E is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.8% C 0.119 H 301.3°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#39175E
RGBrgb(57, 23, 94)
HSLhsl(269, 61%, 23%)
HSVhsv(269, 76%, 37%)
CMYKcmyk(39.4%, 75.5%, 0%, 63.1%)
CIE-LABlab(16.94, 32.11, -35.83)
CIE-LCHlch(16.94, 48.11, 311.87°)
OKLaboklab(29.83% 0.0621 -0.1021)
OKLCHoklch(29.83% 0.12 301.3)
XYZxyz(4.0136, 2.2908, 10.8182)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39175E #3C5E17
analogous
#17195E #39175E #5C175E
triadic
#39175E #5E3917 #175E39
tetradic
#39175E #5E1719 #3C5E17 #175E5C
square
#39175E #5E1719 #3C5E17 #175E5C
split-complementary
#39175E #5E5C17 #195E17
monochromatic
#0F0619 #1B0B2D #39175E #57238F #752FC0

Accessibility & contrast

On white

14.40
#39175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#39175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39175E
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39175E#FFFFFF#000000##FFFFFF
##39175E1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39175e;
/* rgb */ color: rgb(57, 23, 94);
/* oklch */ color: oklch(29.8% 0.119 301.3);
Tailwind
colors: {
  custom: {
    50: '#73578c',
    500: '#39175e',
    950: '#000000',
  },
}
SCSS
$custom: #39175e;
$custom-light: #73578c;
$custom-dark: #000000;
JSON
{
  "hex": "#39175e",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 268.732,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29826,
    "c": 0.1195,
    "h": 301.3
  },
  "luminance": 0.02291
}

Semantic roles & 50–950 ramp

primary
#39175E
secondary
#6A953C
accent
#E44497
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39175E

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

Preview Lab → · Contrast checker → · Palette generator →

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