#391DAE#391DAE

#391DAE is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.7% C 0.208 H 279.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#391DAE
RGBrgb(57, 29, 174)
HSLhsl(252, 71%, 40%)
HSVhsv(252, 83%, 68%)
CMYKcmyk(67.2%, 83.3%, 0%, 31.8%)
CIE-LABlab(26.17, 52.41, -71.07)
CIE-LCHlch(26.17, 88.31, 306.41°)
OKLaboklab(38.73% 0.0336 -0.2052)
OKLCHoklch(38.73% 0.208 279.3)
XYZxyz(9.7642, 4.8038, 40.4489)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391DAE #92AE1D
analogous
#1D4AAE #391DAE #811DAE
triadic
#391DAE #AE391D #1DAE39
tetradic
#391DAE #AE1D4A #92AE1D #1DAE81
square
#391DAE #AE1D4A #92AE1D #1DAE81
split-complementary
#391DAE #AE811D #4AAE1D
monochromatic
#170C45 #28147A #391DAE #4E2CDC #7A61E5

Accessibility & contrast

On white

10.71
#391DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#391DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391DAE
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391DAE#FFFFFF#000000##FFFFFF
##391DAE1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004B68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #391dae;
/* rgb */ color: rgb(57, 29, 174);
/* oklch */ color: oklch(38.7% 0.208 279.3);
Tailwind
colors: {
  custom: {
    50: '#815fc8',
    500: '#391dae',
    950: '#000000',
  },
}
SCSS
$custom: #391dae;
$custom-light: #815fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#391dae",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 174
  },
  "hsl": {
    "h": 251.586,
    "s": 71.429,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38727,
    "c": 0.20794,
    "h": 279.3
  },
  "luminance": 0.04805
}

Semantic roles & 50–950 ramp

primary
#391DAE
secondary
#B4C95E
accent
#EE3ACB
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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