#391C8A#391C8A

#391C8A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.167 H 285.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#391C8A
RGBrgb(57, 28, 138)
HSLhsl(256, 66%, 33%)
HSVhsv(256, 80%, 54%)
CMYKcmyk(58.7%, 79.7%, 0%, 45.9%)
CIE-LABlab(22.07, 42.33, -55.79)
CIE-LCHlch(22.07, 70.03, 307.19°)
OKLaboklab(34.73% 0.0458 -0.1607)
OKLCHoklch(34.73% 0.167 285.9)
XYZxyz(6.6887, 3.5350, 24.3697)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C8A #6D8A1C
analogous
#1C368A #391C8A #701C8A
triadic
#391C8A #8A391C #1C8A39
tetradic
#391C8A #8A1C36 #6D8A1C #1C8A70
square
#391C8A #8A1C36 #6D8A1C #1C8A70
split-complementary
#391C8A #8A701C #368A1C
monochromatic
#0F0724 #241257 #391C8A #4E26BD #6D47DA

Accessibility & contrast

On white

12.30
#391C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#391C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C8A
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C8A#FFFFFF#000000##FFFFFF
##391C8A1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#103C53
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #391c8a;
/* rgb */ color: rgb(57, 28, 138);
/* oklch */ color: oklch(34.7% 0.167 285.9);
Tailwind
colors: {
  custom: {
    50: '#7a5cad',
    500: '#391c8a',
    950: '#000000',
  },
}
SCSS
$custom: #391c8a;
$custom-light: #7a5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#391c8a",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 255.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34725,
    "c": 0.16707,
    "h": 285.9
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#391C8A
secondary
#9DBB46
accent
#E93FBC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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