#391C9F#391C9F

#391C9F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.192 H 281.7°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#391C9F
RGBrgb(57, 28, 159)
HSLhsl(253, 70%, 37%)
HSVhsv(253, 82%, 62%)
CMYKcmyk(64.2%, 82.4%, 0%, 37.6%)
CIE-LABlab(24.33, 48.51, -65.03)
CIE-LCHlch(24.33, 81.13, 306.72°)
OKLaboklab(36.97% 0.039 -0.1876)
OKLCHoklch(36.97% 0.192 281.7)
XYZxyz(8.3586, 4.2029, 33.1649)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C9F #829F1C
analogous
#1C419F #391C9F #7A1C9F
triadic
#391C9F #9F391C #1C9F39
tetradic
#391C9F #9F1C41 #829F1C #1C9F7A
square
#391C9F #9F1C41 #829F1C #1C9F7A
split-complementary
#391C9F #9F7A1C #419F1C
monochromatic
#140A37 #26136B #391C9F #4C25D3 #7454E1

Accessibility & contrast

On white

11.41
#391C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#391C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C9F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C9F#FFFFFF#000000##FFFFFF
##391C9F1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #391c9f;
/* rgb */ color: rgb(57, 28, 159);
/* oklch */ color: oklch(37.0% 0.192 281.7);
Tailwind
colors: {
  custom: {
    50: '#7e5ebd',
    500: '#391c9f',
    950: '#000000',
  },
}
SCSS
$custom: #391c9f;
$custom-light: #7e5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#391c9f",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 253.282,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36967,
    "c": 0.19163,
    "h": 281.7
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#391C9F
secondary
#ABC453
accent
#ED3BC5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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