#391EAE#391EAE

#391EAE is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 38.8% C 0.207 H 279.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#391EAE
RGBrgb(57, 30, 174)
HSLhsl(251, 71%, 40%)
HSVhsv(251, 83%, 68%)
CMYKcmyk(67.2%, 82.8%, 0%, 31.8%)
CIE-LABlab(26.31, 51.99, -70.83)
CIE-LCHlch(26.31, 87.86, 306.28°)
OKLaboklab(38.83% 0.0332 -0.2045)
OKLCHoklch(38.83% 0.207 279.2)
XYZxyz(9.7892, 4.8536, 40.4572)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391EAE #93AE1E
analogous
#1E4BAE #391EAE #811EAE
triadic
#391EAE #AE391E #1EAE39
tetradic
#391EAE #AE1E4B #93AE1E #1EAE81
square
#391EAE #AE1E4B #93AE1E #1EAE81
split-complementary
#391EAE #AE811E #4BAE1E
monochromatic
#170C46 #28157A #391EAE #4F2EDB #7B62E4

Accessibility & contrast

On white

10.66
#391EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#391EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391EAE
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391EAE#FFFFFF#000000##FFFFFF
##391EAE1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391eae;
/* rgb */ color: rgb(57, 30, 174);
/* oklch */ color: oklch(38.8% 0.207 279.2);
Tailwind
colors: {
  custom: {
    50: '#8160c8',
    500: '#391eae',
    950: '#000000',
  },
}
SCSS
$custom: #391eae;
$custom-light: #8160c8;
$custom-dark: #000000;
JSON
{
  "hex": "#391eae",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 174
  },
  "hsl": {
    "h": 251.25,
    "s": 70.588,
    "l": 40
  },
  "oklch": {
    "l": 0.38827,
    "c": 0.20719,
    "h": 279.2
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#391EAE
secondary
#B5C95F
accent
#ED3ACC
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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