#391DA8#391DA8

#391DA8 is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.1% C 0.201 H 280.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#391DA8
RGBrgb(57, 29, 168)
HSLhsl(252, 71%, 39%)
HSVhsv(252, 83%, 66%)
CMYKcmyk(66.1%, 82.7%, 0%, 34.1%)
CIE-LABlab(25.49, 50.68, -68.58)
CIE-LCHlch(25.49, 85.28, 306.46°)
OKLaboklab(38.06% 0.0355 -0.198)
OKLCHoklch(38.06% 0.201 280.2)
XYZxyz(9.1923, 4.5750, 37.4368)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391DA8 #8CA81D
analogous
#1D47A8 #391DA8 #7E1DA8
triadic
#391DA8 #A8391D #1DA839
tetradic
#391DA8 #A81D47 #8CA81D #1DA87E
square
#391DA8 #A81D47 #8CA81D #1DA87E
split-complementary
#391DA8 #A87E1D #47A81D
monochromatic
#160B40 #271474 #391DA8 #4C28DA #785CE3

Accessibility & contrast

On white

10.96
#391DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#391DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391DA8
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391DA8#FFFFFF#000000##FFFFFF
##391DA81.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #391da8;
/* rgb */ color: rgb(57, 29, 168);
/* oklch */ color: oklch(38.1% 0.201 280.2);
Tailwind
colors: {
  custom: {
    50: '#805fc3',
    500: '#391da8',
    950: '#000000',
  },
}
SCSS
$custom: #391da8;
$custom-light: #805fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#391da8",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 168
  },
  "hsl": {
    "h": 252.086,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3806,
    "c": 0.20113,
    "h": 280.2
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

primary
#391DA8
secondary
#B1C75A
accent
#ED3AC9
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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