#39198C#39198C

#39198C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.172 H 285.9°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#39198C
RGBrgb(57, 25, 140)
HSLhsl(257, 70%, 32%)
HSVhsv(257, 82%, 55%)
CMYKcmyk(59.3%, 82.1%, 0%, 45.1%)
CIE-LABlab(21.79, 44.33, -57.50)
CIE-LCHlch(21.79, 72.61, 307.63°)
OKLaboklab(34.6% 0.0471 -0.1656)
OKLCHoklch(34.6% 0.172 285.9)
XYZxyz(6.7672, 3.4582, 25.1168)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39198C #6C8C19
analogous
#19328C #39198C #73198C
triadic
#39198C #8C3919 #198C39
tetradic
#39198C #8C1932 #6C8C19 #198C73
square
#39198C #8C1932 #6C8C19 #198C73
split-complementary
#39198C #8C7319 #328C19
monochromatic
#0F0624 #241058 #39198C #4E22C0 #6D42DD

Accessibility & contrast

On white

12.41
#39198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#39198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39198C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39198C#FFFFFF#000000##FFFFFF
##39198C1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#0C3C53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39198c;
/* rgb */ color: rgb(57, 25, 140);
/* oklch */ color: oklch(34.6% 0.172 285.9);
Tailwind
colors: {
  custom: {
    50: '#7a5baf',
    500: '#39198c',
    950: '#000000',
  },
}
SCSS
$custom: #39198c;
$custom-light: #7a5baf;
$custom-dark: #000000;
JSON
{
  "hex": "#39198c",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 256.696,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34596,
    "c": 0.17219,
    "h": 285.9
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#39198C
secondary
#9CBE43
accent
#ED3BBB
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #39198C

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

Preview Lab → · Contrast checker → · Palette generator →

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