#391CB4#391CB4

#391CB4 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.3% C 0.215 H 278.5°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#391CB4
RGBrgb(57, 28, 180)
HSLhsl(251, 73%, 41%)
HSVhsv(251, 84%, 71%)
CMYKcmyk(68.3%, 84.4%, 0%, 29.4%)
CIE-LABlab(26.72, 54.54, -73.75)
CIE-LCHlch(26.72, 91.72, 306.48°)
OKLaboklab(39.31% 0.032 -0.213)
OKLCHoklch(39.31% 0.215 278.5)
XYZxyz(10.3382, 4.9948, 43.5904)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391CB4 #97B41C
analogous
#1C4BB4 #391CB4 #851CB4
triadic
#391CB4 #B4391C #1CB439
tetradic
#391CB4 #B41C4B #97B41C #1CB485
square
#391CB4 #B41C4B #97B41C #1CB485
split-complementary
#391CB4 #B4851C #4BB41C
monochromatic
#170C4A #28147F #391CB4 #502FDF #7D64E7

Accessibility & contrast

On white

10.50
#391CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#391CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391CB4
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391CB4#FFFFFF#000000##FFFFFF
##391CB41.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #391cb4;
/* rgb */ color: rgb(57, 28, 180);
/* oklch */ color: oklch(39.3% 0.215 278.5);
Tailwind
colors: {
  custom: {
    50: '#825fcc',
    500: '#391cb4',
    950: '#000000',
  },
}
SCSS
$custom: #391cb4;
$custom-light: #825fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#391cb4",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 251.447,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.21536,
    "h": 278.5
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#391CB4
secondary
#B7CC60
accent
#F038CD
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #391CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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