#391CB3#391CB3

#391CB3 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.2% C 0.214 H 278.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#391CB3
RGBrgb(57, 28, 179)
HSLhsl(252, 73%, 41%)
HSVhsv(252, 84%, 70%)
CMYKcmyk(68.2%, 84.4%, 0%, 29.8%)
CIE-LABlab(26.60, 54.25, -73.34)
CIE-LCHlch(26.60, 91.23, 306.49°)
OKLaboklab(39.19% 0.0323 -0.2118)
OKLCHoklch(39.19% 0.214 278.7)
XYZxyz(10.2367, 4.9542, 43.0559)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391CB3 #96B31C
analogous
#1C4AB3 #391CB3 #841CB3
triadic
#391CB3 #B3391C #1CB339
tetradic
#391CB3 #B31C4A #96B31C #1CB384
square
#391CB3 #B31C4A #96B31C #1CB384
split-complementary
#391CB3 #B3841C #4AB31C
monochromatic
#170B49 #28147E #391CB3 #502EDE #7C63E7

Accessibility & contrast

On white

10.55
#391CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#391CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391CB3
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391CB3#FFFFFF#000000##FFFFFF
##391CB31.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0039B0
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #391cb3;
/* rgb */ color: rgb(57, 28, 179);
/* oklch */ color: oklch(39.2% 0.214 278.7);
Tailwind
colors: {
  custom: {
    50: '#825fcb',
    500: '#391cb3',
    950: '#000000',
  },
}
SCSS
$custom: #391cb3;
$custom-light: #825fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#391cb3",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 251.523,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39194,
    "c": 0.21424,
    "h": 278.7
  },
  "luminance": 0.04955
}

Semantic roles & 50–950 ramp

primary
#391CB3
secondary
#B7CB5F
accent
#F038CC
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #391CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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