#391EA9#391EA9

#391EA9 is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.3% C 0.202 H 279.9°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#391EA9
RGBrgb(57, 30, 169)
HSLhsl(252, 70%, 39%)
HSVhsv(252, 82%, 66%)
CMYKcmyk(66.3%, 82.2%, 0%, 33.7%)
CIE-LABlab(25.75, 50.53, -68.75)
CIE-LCHlch(25.75, 85.33, 306.32°)
OKLaboklab(38.27% 0.0348 -0.1985)
OKLCHoklch(38.27% 0.202 279.9)
XYZxyz(9.3108, 4.6622, 37.9377)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391EA9 #8EA91E
analogous
#1E49A9 #391EA9 #7F1EA9
triadic
#391EA9 #A9391E #1EA939
tetradic
#391EA9 #A91E49 #8EA91E #1EA97F
square
#391EA9 #A91E49 #8EA91E #1EA97F
split-complementary
#391EA9 #A97F1E #49A91E
monochromatic
#160C41 #271575 #391EA9 #4D2BD9 #785FE3

Accessibility & contrast

On white

10.87
#391EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#391EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391EA9
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391EA9#FFFFFF#000000##FFFFFF
##391EA91.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004965
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #391ea9;
/* rgb */ color: rgb(57, 30, 169);
/* oklch */ color: oklch(38.3% 0.202 279.9);
Tailwind
colors: {
  custom: {
    50: '#805fc4',
    500: '#391ea9',
    950: '#000000',
  },
}
SCSS
$custom: #391ea9;
$custom-light: #805fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#391ea9",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 251.655,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38274,
    "c": 0.2015,
    "h": 279.9
  },
  "luminance": 0.04663
}

Semantic roles & 50–950 ramp

primary
#391EA9
secondary
#B2C75C
accent
#ED3BCA
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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