#391D9C#391D9C

#391D9C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.187 H 282.2°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#391D9C
RGBrgb(57, 29, 156)
HSLhsl(253, 69%, 36%)
HSVhsv(253, 81%, 61%)
CMYKcmyk(63.5%, 81.4%, 0%, 38.8%)
CIE-LABlab(24.16, 47.18, -63.49)
CIE-LCHlch(24.16, 79.10, 306.62°)
OKLaboklab(36.75% 0.0394 -0.1831)
OKLCHoklch(36.75% 0.187 282.2)
XYZxyz(8.1256, 4.1483, 31.8186)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D9C #809C1D
analogous
#1D419C #391D9C #791D9C
triadic
#391D9C #9C391D #1D9C39
tetradic
#391D9C #9C1D41 #809C1D #1D9C79
square
#391D9C #9C1D41 #809C1D #1D9C79
split-complementary
#391D9C #9C791D #419C1D
monochromatic
#130A35 #261368 #391D9C #4C27D0 #7354DF

Accessibility & contrast

On white

11.48
#391D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#391D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D9C
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D9C#FFFFFF#000000##FFFFFF
##391D9C1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #391d9c;
/* rgb */ color: rgb(57, 29, 156);
/* oklch */ color: oklch(36.7% 0.187 282.2);
Tailwind
colors: {
  custom: {
    50: '#7d5eba',
    500: '#391d9c',
    950: '#000000',
  },
}
SCSS
$custom: #391d9c;
$custom-light: #7d5eba;
$custom-dark: #000000;
JSON
{
  "hex": "#391d9c",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 253.228,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36748,
    "c": 0.18734,
    "h": 282.2
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#391D9C
secondary
#AAC252
accent
#EB3CC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391D9C

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

Preview Lab → · Contrast checker → · Palette generator →

#391D9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva