#391EAB#391EAB

#391EAB is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.5% C 0.204 H 279.6°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#391EAB
RGBrgb(57, 30, 171)
HSLhsl(251, 70%, 39%)
HSVhsv(251, 82%, 67%)
CMYKcmyk(66.7%, 82.5%, 0%, 32.9%)
CIE-LABlab(25.97, 51.12, -69.59)
CIE-LCHlch(25.97, 86.34, 306.30°)
OKLaboklab(38.5% 0.0341 -0.2009)
OKLCHoklch(38.5% 0.204 279.6)
XYZxyz(9.5000, 4.7379, 38.9341)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391EAB #90AB1E
analogous
#1E4AAB #391EAB #7F1EAB
triadic
#391EAB #AB391E #1EAB39
tetradic
#391EAB #AB1E4A #90AB1E #1EAB7F
square
#391EAB #AB1E4A #90AB1E #1EAB7F
split-complementary
#391EAB #AB7F1E #4AAB1E
monochromatic
#160C43 #281577 #391EAB #4D2CDA #7960E3

Accessibility & contrast

On white

10.78
#391EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#391EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391EAB
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391EAB#FFFFFF#000000##FFFFFF
##391EAB1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AF
Deuteranopia (green-blind)
#0038A9
Tritanopia (blue-blind)
#004A66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #391eab;
/* rgb */ color: rgb(57, 30, 171);
/* oklch */ color: oklch(38.5% 0.204 279.6);
Tailwind
colors: {
  custom: {
    50: '#8060c5',
    500: '#391eab',
    950: '#000000',
  },
}
SCSS
$custom: #391eab;
$custom-light: #8060c5;
$custom-dark: #000000;
JSON
{
  "hex": "#391eab",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 171
  },
  "hsl": {
    "h": 251.489,
    "s": 70.149,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38495,
    "c": 0.20378,
    "h": 279.6
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#391EAB
secondary
#B3C85D
accent
#ED3BCB
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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