#391BAA#391BAA

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

Color values

HEX#391BAA
RGBrgb(57, 27, 170)
HSLhsl(253, 73%, 39%)
HSVhsv(253, 84%, 67%)
CMYKcmyk(66.5%, 84.1%, 0%, 33.3%)
CIE-LABlab(25.43, 52.10, -69.89)
CIE-LCHlch(25.43, 87.17, 306.70°)
OKLaboklab(38.09% 0.0357 -0.2017)
OKLCHoklch(38.09% 0.205 280)
XYZxyz(9.3327, 4.5552, 38.4099)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391BAA #8CAA1B
analogous
#1B45AA #391BAA #801BAA
triadic
#391BAA #AA391B #1BAA39
tetradic
#391BAA #AA1B45 #8CAA1B #1BAA80
square
#391BAA #AA1B45 #8CAA1B #1BAA80
split-complementary
#391BAA #AA801B #45AA1B
monochromatic
#160A40 #271375 #391BAA #4C26DC #785BE5

Accessibility & contrast

On white

10.99
#391BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#391BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391BAA
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391BAA#FFFFFF#000000##FFFFFF
##391BAA1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004965
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #391baa;
/* rgb */ color: rgb(57, 27, 170);
/* oklch */ color: oklch(38.1% 0.205 280.0);
Tailwind
colors: {
  custom: {
    50: '#805ec5',
    500: '#391baa',
    950: '#000000',
  },
}
SCSS
$custom: #391baa;
$custom-light: #805ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#391baa",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 252.587,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38085,
    "c": 0.20488,
    "h": 280
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#391BAA
secondary
#B1C958
accent
#EF39C9
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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