#39197D#39197D

#39197D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.155 H 289.7°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#39197D
RGBrgb(57, 25, 125)
HSLhsl(259, 67%, 29%)
HSVhsv(259, 80%, 49%)
CMYKcmyk(54.4%, 80%, 0%, 51%)
CIE-LABlab(20.23, 39.97, -50.63)
CIE-LCHlch(20.23, 64.51, 308.29°)
OKLaboklab(33.03% 0.052 -0.1456)
OKLCHoklch(33.03% 0.155 289.7)
XYZxyz(5.7356, 3.0455, 19.6837)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39197D #5D7D19
analogous
#192B7D #39197D #6B197D
triadic
#39197D #7D3919 #197D39
tetradic
#39197D #7D192B #5D7D19 #197D6B
square
#39197D #7D192B #5D7D19 #197D6B
split-complementary
#39197D #7D6B19 #2B7D19
monochromatic
#0C051A #220F4A #39197D #5023B0 #6C39D7

Accessibility & contrast

On white

13.05
#39197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#39197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39197D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39197D#FFFFFF#000000##FFFFFF
##39197D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#1F354A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39197d;
/* rgb */ color: rgb(57, 25, 125);
/* oklch */ color: oklch(33.0% 0.155 289.7);
Tailwind
colors: {
  custom: {
    50: '#785aa4',
    500: '#39197d',
    950: '#000000',
  },
}
SCSS
$custom: #39197d;
$custom-light: #785aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#39197d",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 259.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33035,
    "c": 0.15457,
    "h": 289.7
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#39197D
secondary
#8DB140
accent
#EA3EB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39197D

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

Preview Lab → · Contrast checker → · Palette generator →

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