#391D9E#391D9E

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

Color values

HEX#391D9E
RGBrgb(57, 29, 158)
HSLhsl(253, 69%, 37%)
HSVhsv(253, 82%, 62%)
CMYKcmyk(63.9%, 81.6%, 0%, 38%)
CIE-LABlab(24.38, 47.77, -64.35)
CIE-LCHlch(24.38, 80.14, 306.59°)
OKLaboklab(36.96% 0.0388 -0.1856)
OKLCHoklch(36.96% 0.19 281.8)
XYZxyz(8.2963, 4.2166, 32.7178)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D9E #829E1D
analogous
#1D429E #391D9E #7A1D9E
triadic
#391D9E #9E391D #1D9E39
tetradic
#391D9E #9E1D42 #829E1D #1D9E7A
square
#391D9E #9E1D42 #829E1D #1D9E7A
split-complementary
#391D9E #9E7A1D #429E1D
monochromatic
#140A37 #26146A #391D9E #4C26D2 #7456E0

Accessibility & contrast

On white

11.39
#391D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391D9E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D9E#FFFFFF#000000##FFFFFF
##391D9E1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #391d9e;
/* rgb */ color: rgb(57, 29, 158);
/* oklch */ color: oklch(37.0% 0.190 281.8);
Tailwind
colors: {
  custom: {
    50: '#7e5ebc',
    500: '#391d9e',
    950: '#000000',
  },
}
SCSS
$custom: #391d9e;
$custom-light: #7e5ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#391d9e",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 253.023,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36964,
    "c": 0.18966,
    "h": 281.8
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#391D9E
secondary
#ABC354
accent
#EC3CC6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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