#39197E#39197E

#39197E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.156 H 289.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#39197E
RGBrgb(57, 25, 126)
HSLhsl(259, 67%, 30%)
HSVhsv(259, 80%, 49%)
CMYKcmyk(54.8%, 80.2%, 0%, 50.6%)
CIE-LABlab(20.33, 40.27, -51.10)
CIE-LCHlch(20.33, 65.06, 308.24°)
OKLaboklab(33.14% 0.0517 -0.1469)
OKLCHoklch(33.14% 0.156 289.4)
XYZxyz(5.7998, 3.0712, 20.0218)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39197E #5E7E19
analogous
#192C7E #39197E #6C197E
triadic
#39197E #7E3919 #197E39
tetradic
#39197E #7E192C #5E7E19 #197E6C
square
#39197E #7E192C #5E7E19 #197E6C
split-complementary
#39197E #7E6C19 #2C7E19
monochromatic
#0C051A #220F4B #39197E #5023B1 #6C3AD8

Accessibility & contrast

On white

13.01
#39197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39197E
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39197E#FFFFFF#000000##FFFFFF
##39197E1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#1E364B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39197e;
/* rgb */ color: rgb(57, 25, 126);
/* oklch */ color: oklch(33.1% 0.156 289.4);
Tailwind
colors: {
  custom: {
    50: '#785aa4',
    500: '#39197e',
    950: '#000000',
  },
}
SCSS
$custom: #39197e;
$custom-light: #785aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#39197e",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 259.01,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33137,
    "c": 0.15576,
    "h": 289.4
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39197E

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

Preview Lab → · Contrast checker → · Palette generator →

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