#391C9A#391C9A

#391C9A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.186 H 282.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#391C9A
RGBrgb(57, 28, 154)
HSLhsl(254, 69%, 36%)
HSVhsv(254, 82%, 60%)
CMYKcmyk(63%, 81.8%, 0%, 39.6%)
CIE-LABlab(23.78, 47.05, -62.88)
CIE-LCHlch(23.78, 78.53, 306.80°)
OKLaboklab(36.42% 0.0406 -0.1814)
OKLCHoklch(36.42% 0.186 282.6)
XYZxyz(7.9335, 4.0329, 30.9259)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C9A #7D9A1C
analogous
#1C3E9A #391C9A #781C9A
triadic
#391C9A #9A391C #1C9A39
tetradic
#391C9A #9A1C3E #7D9A1C #1C9A78
square
#391C9A #9A1C3E #7D9A1C #1C9A78
split-complementary
#391C9A #9A781C #3E9A1C
monochromatic
#130932 #261366 #391C9A #4C25CE #7251DF

Accessibility & contrast

On white

11.62
#391C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#391C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C9A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C9A#FFFFFF#000000##FFFFFF
##391C9A1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #391c9a;
/* rgb */ color: rgb(57, 28, 154);
/* oklch */ color: oklch(36.4% 0.186 282.6);
Tailwind
colors: {
  custom: {
    50: '#7d5db9',
    500: '#391c9a',
    950: '#000000',
  },
}
SCSS
$custom: #391c9a;
$custom-light: #7d5db9;
$custom-dark: #000000;
JSON
{
  "hex": "#391c9a",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 253.81,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36423,
    "c": 0.18587,
    "h": 282.6
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#391C9A
secondary
#A8C250
accent
#EC3CC3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #391C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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