#39189F#39189F

#39189F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.6% C 0.195 H 282.1°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#39189F
RGBrgb(57, 24, 159)
HSLhsl(255, 74%, 36%)
HSVhsv(255, 85%, 62%)
CMYKcmyk(64.2%, 84.9%, 0%, 37.6%)
CIE-LABlab(23.76, 50.20, -65.98)
CIE-LCHlch(23.76, 82.91, 307.26°)
OKLaboklab(36.57% 0.0409 -0.1903)
OKLCHoklch(36.57% 0.195 282.1)
XYZxyz(8.2700, 4.0257, 33.1354)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39189F #7E9F18
analogous
#183A9F #39189F #7C189F
triadic
#39189F #9F3918 #189F39
tetradic
#39189F #9F183A #7E9F18 #189F7C
square
#39189F #9F183A #7E9F18 #189F7C
split-complementary
#39189F #9F7C18 #3A9F18
monochromatic
#130835 #26106A #39189F #4C20D4 #724DE4

Accessibility & contrast

On white

11.63
#39189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#39189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39189F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39189F#FFFFFF#000000##FFFFFF
##39189F1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #39189f;
/* rgb */ color: rgb(57, 24, 159);
/* oklch */ color: oklch(36.6% 0.195 282.1);
Tailwind
colors: {
  custom: {
    50: '#7e5cbd',
    500: '#39189f',
    950: '#000000',
  },
}
SCSS
$custom: #39189f;
$custom-light: #7e5cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#39189f",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 254.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36571,
    "c": 0.19468,
    "h": 282.1
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#39189F
secondary
#A8C64D
accent
#F037C3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #39189F

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

Preview Lab → · Contrast checker → · Palette generator →

#39189F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva