#39197C#39197C

#39197C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.153 H 289.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#39197C
RGBrgb(57, 25, 124)
HSLhsl(259, 66%, 29%)
HSVhsv(259, 80%, 49%)
CMYKcmyk(54%, 79.8%, 0%, 51.4%)
CIE-LABlab(20.12, 39.68, -50.16)
CIE-LCHlch(20.12, 63.96, 308.35°)
OKLaboklab(32.93% 0.0523 -0.1442)
OKLCHoklch(32.93% 0.153 289.9)
XYZxyz(5.6720, 3.0201, 19.3489)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39197C #5C7C19
analogous
#192B7C #39197C #6B197C
triadic
#39197C #7C3919 #197C39
tetradic
#39197C #7C192B #5C7C19 #197C6B
square
#39197C #7C192B #5C7C19 #197C6B
split-complementary
#39197C #7C6B19 #2B7C19
monochromatic
#0C0519 #220F49 #39197C #5023AF #6C38D7

Accessibility & contrast

On white

13.09
#39197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#39197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39197C
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39197C#FFFFFF#000000##FFFFFF
##39197C1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#20354A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39197c;
/* rgb */ color: rgb(57, 25, 124);
/* oklch */ color: oklch(32.9% 0.153 289.9);
Tailwind
colors: {
  custom: {
    50: '#785aa3',
    500: '#39197c',
    950: '#000000',
  },
}
SCSS
$custom: #39197c;
$custom-light: #785aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#39197c",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 259.394,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32934,
    "c": 0.15338,
    "h": 289.9
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#39197C
secondary
#8CB040
accent
#E93EB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39197C

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

Preview Lab → · Contrast checker → · Palette generator →

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