#391CA1#391CA1

#391CA1 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.194 H 281.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#391CA1
RGBrgb(57, 28, 161)
HSLhsl(253, 70%, 37%)
HSVhsv(253, 83%, 63%)
CMYKcmyk(64.6%, 82.6%, 0%, 36.9%)
CIE-LABlab(24.55, 49.09, -65.88)
CIE-LCHlch(24.55, 82.16, 306.69°)
OKLaboklab(37.19% 0.0383 -0.1901)
OKLCHoklch(37.19% 0.194 281.4)
XYZxyz(8.5336, 4.2729, 34.0864)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391CA1 #84A11C
analogous
#1C41A1 #391CA1 #7C1CA1
triadic
#391CA1 #A1391C #1CA139
tetradic
#391CA1 #A11C41 #84A11C #1CA17C
square
#391CA1 #A11C41 #84A11C #1CA17C
split-complementary
#391CA1 #A17C1C #41A11C
monochromatic
#140A39 #27136D #391CA1 #4B25D5 #7456E2

Accessibility & contrast

On white

11.32
#391CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#391CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391CA1
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391CA1#FFFFFF#000000##FFFFFF
##391CA11.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004560
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #391ca1;
/* rgb */ color: rgb(57, 28, 161);
/* oklch */ color: oklch(37.2% 0.194 281.4);
Tailwind
colors: {
  custom: {
    50: '#7e5ebe',
    500: '#391ca1',
    950: '#000000',
  },
}
SCSS
$custom: #391ca1;
$custom-light: #7e5ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#391ca1",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 253.083,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37186,
    "c": 0.19392,
    "h": 281.4
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#391CA1
secondary
#ACC554
accent
#ED3BC6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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