#391CA9#391CA9

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

Color values

HEX#391CA9
RGBrgb(57, 28, 169)
HSLhsl(252, 72%, 39%)
HSVhsv(252, 83%, 66%)
CMYKcmyk(66.3%, 83.4%, 0%, 33.7%)
CIE-LABlab(25.46, 51.40, -69.24)
CIE-LCHlch(25.46, 86.23, 306.59°)
OKLaboklab(38.07% 0.0357 -0.1999)
OKLCHoklch(38.07% 0.203 280.1)
XYZxyz(9.2618, 4.5642, 37.9213)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391CA9 #8CA91C
analogous
#1C46A9 #391CA9 #7F1CA9
triadic
#391CA9 #A9391C #1CA939
tetradic
#391CA9 #A91C46 #8CA91C #1CA97F
square
#391CA9 #A91C46 #8CA91C #1CA97F
split-complementary
#391CA9 #A97F1C #46A91C
monochromatic
#160B40 #271374 #391CA9 #4C27DB #785BE4

Accessibility & contrast

On white

10.98
#391CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391CA9
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391CA9#FFFFFF#000000##FFFFFF
##391CA91.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391ca9;
/* rgb */ color: rgb(57, 28, 169);
/* oklch */ color: oklch(38.1% 0.203 280.1);
Tailwind
colors: {
  custom: {
    50: '#805ec4',
    500: '#391ca9',
    950: '#000000',
  },
}
SCSS
$custom: #391ca9;
$custom-light: #805ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#391ca9",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 252.34,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38071,
    "c": 0.20303,
    "h": 280.1
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#391CA9
secondary
#B1C859
accent
#EE39C9
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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