#391CA8#391CA8

#391CA8 is a dark, highly saturated violet. Relative luminance 0.045; OKLCH L 38.0% C 0.202 H 280.3°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#391CA8
RGBrgb(57, 28, 168)
HSLhsl(252, 71%, 38%)
HSVhsv(252, 83%, 66%)
CMYKcmyk(66.1%, 83.3%, 0%, 34.1%)
CIE-LABlab(25.34, 51.11, -68.82)
CIE-LCHlch(25.34, 85.73, 306.60°)
OKLaboklab(37.96% 0.036 -0.1987)
OKLCHoklch(37.96% 0.202 280.3)
XYZxyz(9.1682, 4.5268, 37.4288)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391CA8 #8BA81C
analogous
#1C45A8 #391CA8 #7F1CA8
triadic
#391CA8 #A8391C #1CA839
tetradic
#391CA8 #A81C45 #8BA81C #1CA87F
square
#391CA8 #A81C45 #8BA81C #1CA87F
split-complementary
#391CA8 #A87F1C #45A81C
monochromatic
#150B3F #271374 #391CA8 #4C26DB #775BE4

Accessibility & contrast

On white

11.02
#391CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391CA8
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391CA8#FFFFFF#000000##FFFFFF
##391CA81.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004864
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #391ca8;
/* rgb */ color: rgb(57, 28, 168);
/* oklch */ color: oklch(38.0% 0.202 280.3);
Tailwind
colors: {
  custom: {
    50: '#805ec3',
    500: '#391ca8',
    950: '#000000',
  },
}
SCSS
$custom: #391ca8;
$custom-light: #805ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#391ca8",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 252.429,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37959,
    "c": 0.20189,
    "h": 280.3
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#391CA8
secondary
#B0C758
accent
#EE3AC9
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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