#39198D#39198D

#39198D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.173 H 285.6°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#39198D
RGBrgb(57, 25, 141)
HSLhsl(257, 70%, 33%)
HSVhsv(257, 82%, 55%)
CMYKcmyk(59.6%, 82.3%, 0%, 44.7%)
CIE-LABlab(21.90, 44.62, -57.95)
CIE-LCHlch(21.90, 73.14, 307.60°)
OKLaboklab(34.7% 0.0468 -0.1669)
OKLCHoklch(34.7% 0.173 285.6)
XYZxyz(6.8412, 3.4878, 25.5069)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39198D #6D8D19
analogous
#19338D #39198D #73198D
triadic
#39198D #8D3919 #198D39
tetradic
#39198D #8D1933 #6D8D19 #198D73
square
#39198D #8D1933 #6D8D19 #198D73
split-complementary
#39198D #8D7319 #338D19
monochromatic
#0F0725 #241059 #39198D #4E22C1 #6D43DE

Accessibility & contrast

On white

12.37
#39198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#39198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39198D
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39198D#FFFFFF#000000##FFFFFF
##39198D1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#0A3C54
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39198d;
/* rgb */ color: rgb(57, 25, 141);
/* oklch */ color: oklch(34.7% 0.173 285.6);
Tailwind
colors: {
  custom: {
    50: '#7b5baf',
    500: '#39198d',
    950: '#000000',
  },
}
SCSS
$custom: #39198d;
$custom-light: #7b5baf;
$custom-dark: #000000;
JSON
{
  "hex": "#39198d",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 256.552,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34702,
    "c": 0.17336,
    "h": 285.6
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#39198D
secondary
#9DBF43
accent
#ED3BBC
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #39198D

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

Preview Lab → · Contrast checker → · Palette generator →

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