#39198A#39198A

#39198A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.170 H 286.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#39198A
RGBrgb(57, 25, 138)
HSLhsl(257, 69%, 32%)
HSVhsv(257, 82%, 54%)
CMYKcmyk(58.7%, 81.9%, 0%, 45.9%)
CIE-LABlab(21.58, 43.75, -56.60)
CIE-LCHlch(21.58, 71.54, 307.70°)
OKLaboklab(34.38% 0.0478 -0.163)
OKLCHoklch(34.38% 0.17 286.3)
XYZxyz(6.6210, 3.3997, 24.3472)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39198A #6A8A19
analogous
#19328A #39198A #72198A
triadic
#39198A #8A3919 #198A39
tetradic
#39198A #8A1932 #6A8A19 #198A72
square
#39198A #8A1932 #6A8A19 #198A72
split-complementary
#39198A #8A7219 #328A19
monochromatic
#0E0622 #241056 #39198A #4E22BE #6D41DD

Accessibility & contrast

On white

12.50
#39198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#39198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39198A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39198A#FFFFFF#000000##FFFFFF
##39198A1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#103B52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39198a;
/* rgb */ color: rgb(57, 25, 138);
/* oklch */ color: oklch(34.4% 0.170 286.3);
Tailwind
colors: {
  custom: {
    50: '#7a5bad',
    500: '#39198a',
    950: '#000000',
  },
}
SCSS
$custom: #39198a;
$custom-light: #7a5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#39198a",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 256.991,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34384,
    "c": 0.16987,
    "h": 286.3
  },
  "luminance": 0.034
}

Semantic roles & 50–950 ramp

primary
#39198A
secondary
#9ABD42
accent
#EC3CBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #39198A

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

Preview Lab → · Contrast checker → · Palette generator →

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