#391BAE#391BAE

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

Color values

HEX#391BAE
RGBrgb(57, 27, 174)
HSLhsl(252, 73%, 39%)
HSVhsv(252, 84%, 68%)
CMYKcmyk(67.2%, 84.5%, 0%, 31.8%)
CIE-LABlab(25.89, 53.24, -71.53)
CIE-LCHlch(25.89, 89.17, 306.66°)
OKLaboklab(38.54% 0.0344 -0.2065)
OKLCHoklch(38.54% 0.209 279.5)
XYZxyz(9.7168, 4.7089, 40.4330)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391BAE #90AE1B
analogous
#1B47AE #391BAE #831BAE
triadic
#391BAE #AE391B #1BAE39
tetradic
#391BAE #AE1B47 #90AE1B #1BAE83
square
#391BAE #AE1B47 #90AE1B #1BAE83
split-complementary
#391BAE #AE831B #47AE1B
monochromatic
#160B44 #281379 #391BAE #4D28DE #795DE6

Accessibility & contrast

On white

10.81
#391BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#391BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391BAE
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391BAE#FFFFFF#000000##FFFFFF
##391BAE1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #391bae;
/* rgb */ color: rgb(57, 27, 174);
/* oklch */ color: oklch(38.5% 0.209 279.5);
Tailwind
colors: {
  custom: {
    50: '#815ec8',
    500: '#391bae',
    950: '#000000',
  },
}
SCSS
$custom: #391bae;
$custom-light: #815ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#391bae",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 174
  },
  "hsl": {
    "h": 252.245,
    "s": 73.134,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38535,
    "c": 0.20937,
    "h": 279.5
  },
  "luminance": 0.0471
}

Semantic roles & 50–950 ramp

primary
#391BAE
secondary
#B3CA5B
accent
#F038CA
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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