#391FAE#391FAE

#391FAE is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 38.9% C 0.206 H 279.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#391FAE
RGBrgb(57, 31, 174)
HSLhsl(251, 70%, 40%)
HSVhsv(251, 82%, 68%)
CMYKcmyk(67.2%, 82.2%, 0%, 31.8%)
CIE-LABlab(26.46, 51.55, -70.58)
CIE-LCHlch(26.46, 87.40, 306.14°)
OKLaboklab(38.93% 0.0327 -0.2038)
OKLCHoklch(38.93% 0.206 279.1)
XYZxyz(9.8149, 4.9050, 40.4657)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391FAE #94AE1F
analogous
#1F4DAE #391FAE #801FAE
triadic
#391FAE #AE391F #1FAE39
tetradic
#391FAE #AE1F4D #94AE1F #1FAE80
square
#391FAE #AE1F4D #94AE1F #1FAE80
split-complementary
#391FAE #AE801F #4DAE1F
monochromatic
#170C46 #28167A #391FAE #4F30DA #7B64E3

Accessibility & contrast

On white

10.60
#391FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#391FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391FAE
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391FAE#FFFFFF#000000##FFFFFF
##391FAE1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391fae;
/* rgb */ color: rgb(57, 31, 174);
/* oklch */ color: oklch(38.9% 0.206 279.1);
Tailwind
colors: {
  custom: {
    50: '#8160c8',
    500: '#391fae',
    950: '#000000',
  },
}
SCSS
$custom: #391fae;
$custom-light: #8160c8;
$custom-dark: #000000;
JSON
{
  "hex": "#391fae",
  "rgb": {
    "r": 57,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 250.909,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3893,
    "c": 0.20643,
    "h": 279.1
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#391FAE
secondary
#B6C860
accent
#ED3BCC
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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