#39197B#39197B

#39197B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.152 H 290.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#39197B
RGBrgb(57, 25, 123)
HSLhsl(260, 66%, 29%)
HSVhsv(260, 80%, 48%)
CMYKcmyk(53.7%, 79.7%, 0%, 51.8%)
CIE-LABlab(20.02, 39.39, -49.69)
CIE-LCHlch(20.02, 63.41, 308.41°)
OKLaboklab(32.83% 0.0526 -0.1428)
OKLCHoklch(32.83% 0.152 290.2)
XYZxyz(5.6091, 2.9949, 19.0176)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39197B #5B7B19
analogous
#192A7B #39197B #6A197B
triadic
#39197B #7B3919 #197B39
tetradic
#39197B #7B192A #5B7B19 #197B6A
square
#39197B #7B192A #5B7B19 #197B6A
split-complementary
#39197B #7B6A19 #2A7B19
monochromatic
#0C0519 #210F48 #39197B #5123AE #6C38D7

Accessibility & contrast

On white

13.13
#39197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39197B
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39197B#FFFFFF#000000##FFFFFF
##39197B1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#213549
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39197b;
/* rgb */ color: rgb(57, 25, 123);
/* oklch */ color: oklch(32.8% 0.152 290.2);
Tailwind
colors: {
  custom: {
    50: '#775aa2',
    500: '#39197b',
    950: '#000000',
  },
}
SCSS
$custom: #39197b;
$custom-light: #775aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#39197b",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 259.592,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32833,
    "c": 0.15219,
    "h": 290.2
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#39197B
secondary
#8BAF40
accent
#E93FB1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #39197B

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

Preview Lab → · Contrast checker → · Palette generator →

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