#391AB4#391AB4

#391AB4 is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.1% C 0.217 H 278.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#391AB4
RGBrgb(57, 26, 180)
HSLhsl(252, 75%, 40%)
HSVhsv(252, 86%, 71%)
CMYKcmyk(68.3%, 85.6%, 0%, 29.4%)
CIE-LABlab(26.46, 55.32, -74.19)
CIE-LCHlch(26.46, 92.54, 306.71°)
OKLaboklab(39.13% 0.0327 -0.2142)
OKLCHoklch(39.13% 0.217 278.7)
XYZxyz(10.2923, 4.9030, 43.5752)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391AB4 #95B41A
analogous
#1A48B4 #391AB4 #861AB4
triadic
#391AB4 #B4391A #1AB439
tetradic
#391AB4 #B41A48 #95B41A #1AB486
square
#391AB4 #B41A48 #95B41A #1AB486
split-complementary
#391AB4 #B4861A #48B41A
monochromatic
#170B49 #28127F #391AB4 #4F2BE0 #7C60E8

Accessibility & contrast

On white

10.60
#391AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#391AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391AB4
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391AB4#FFFFFF#000000##FFFFFF
##391AB41.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391ab4;
/* rgb */ color: rgb(57, 26, 180);
/* oklch */ color: oklch(39.1% 0.217 278.7);
Tailwind
colors: {
  custom: {
    50: '#825ecc',
    500: '#391ab4',
    950: '#000000',
  },
}
SCSS
$custom: #391ab4;
$custom-light: #825ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#391ab4",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 252.078,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39127,
    "c": 0.21668,
    "h": 278.7
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#391AB4
secondary
#B6CC5D
accent
#F136CC
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #391AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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