#39197A#39197A

#39197A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.151 H 290.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#39197A
RGBrgb(57, 25, 122)
HSLhsl(260, 66%, 29%)
HSVhsv(260, 80%, 48%)
CMYKcmyk(53.3%, 79.5%, 0%, 52.2%)
CIE-LABlab(19.92, 39.10, -49.21)
CIE-LCHlch(19.92, 62.85, 308.47°)
OKLaboklab(32.73% 0.0529 -0.1414)
OKLCHoklch(32.73% 0.151 290.5)
XYZxyz(5.5468, 2.9700, 18.6896)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39197A #5A7A19
analogous
#192A7A #39197A #6A197A
triadic
#39197A #7A3919 #197A39
tetradic
#39197A #7A192A #5A7A19 #197A6A
square
#39197A #7A192A #5A7A19 #197A6A
split-complementary
#39197A #7A6A19 #2A7A19
monochromatic
#0C0519 #210F47 #39197A #5123AD #6C37D6

Accessibility & contrast

On white

13.17
#39197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#39197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39197A
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39197A#FFFFFF#000000##FFFFFF
##39197A1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002E78
Tritanopia (blue-blind)
#223449
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39197a;
/* rgb */ color: rgb(57, 25, 122);
/* oklch */ color: oklch(32.7% 0.151 290.5);
Tailwind
colors: {
  custom: {
    50: '#775aa1',
    500: '#39197a',
    950: '#000000',
  },
}
SCSS
$custom: #39197a;
$custom-light: #775aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#39197a",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 259.794,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32733,
    "c": 0.15099,
    "h": 290.5
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#39197A
secondary
#8AAF40
accent
#E93FB1
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #39197A

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

Preview Lab → · Contrast checker → · Palette generator →

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