#391C9B#391C9B

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

Color values

HEX#391C9B
RGBrgb(57, 28, 155)
HSLhsl(254, 69%, 36%)
HSVhsv(254, 82%, 61%)
CMYKcmyk(63.2%, 81.9%, 0%, 39.2%)
CIE-LABlab(23.89, 47.34, -63.31)
CIE-LCHlch(23.89, 79.06, 306.79°)
OKLaboklab(36.53% 0.0403 -0.1826)
OKLCHoklch(36.53% 0.187 282.4)
XYZxyz(8.0171, 4.0663, 31.3664)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C9B #7E9B1C
analogous
#1C3E9B #391C9B #781C9B
triadic
#391C9B #9B391C #1C9B39
tetradic
#391C9B #9B1C3E #7E9B1C #1C9B78
square
#391C9B #9B1C3E #7E9B1C #1C9B78
split-complementary
#391C9B #9B781C #3E9B1C
monochromatic
#130933 #261367 #391C9B #4C25CF #7252E0

Accessibility & contrast

On white

11.58
#391C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391C9B
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C9B#FFFFFF#000000##FFFFFF
##391C9B1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #391c9b;
/* rgb */ color: rgb(57, 28, 155);
/* oklch */ color: oklch(36.5% 0.187 282.4);
Tailwind
colors: {
  custom: {
    50: '#7d5dba',
    500: '#391c9b',
    950: '#000000',
  },
}
SCSS
$custom: #391c9b;
$custom-light: #7d5dba;
$custom-dark: #000000;
JSON
{
  "hex": "#391c9b",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 155
  },
  "hsl": {
    "h": 253.701,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36531,
    "c": 0.18702,
    "h": 282.4
  },
  "luminance": 0.04067
}

Semantic roles & 50–950 ramp

primary
#391C9B
secondary
#A8C350
accent
#EC3CC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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