#391DA7#391DA7

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

Color values

HEX#391DA7
RGBrgb(57, 29, 167)
HSLhsl(252, 70%, 38%)
HSVhsv(252, 83%, 65%)
CMYKcmyk(65.9%, 82.6%, 0%, 34.5%)
CIE-LABlab(25.38, 50.39, -68.16)
CIE-LCHlch(25.38, 84.77, 306.47°)
OKLaboklab(37.95% 0.0359 -0.1968)
OKLCHoklch(37.95% 0.2 280.3)
XYZxyz(9.0995, 4.5379, 36.9481)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391DA7 #8BA71D
analogous
#1D46A7 #391DA7 #7E1DA7
triadic
#391DA7 #A7391D #1DA739
tetradic
#391DA7 #A71D46 #8BA71D #1DA77E
square
#391DA7 #A71D46 #8BA71D #1DA77E
split-complementary
#391DA7 #A77E1D #46A71D
monochromatic
#150B3F #271473 #391DA7 #4C28DA #775CE3

Accessibility & contrast

On white

11.01
#391DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391DA7
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391DA7#FFFFFF#000000##FFFFFF
##391DA71.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391da7;
/* rgb */ color: rgb(57, 29, 167);
/* oklch */ color: oklch(38.0% 0.200 280.3);
Tailwind
colors: {
  custom: {
    50: '#7f5fc2',
    500: '#391da7',
    950: '#000000',
  },
}
SCSS
$custom: #391da7;
$custom-light: #7f5fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#391da7",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 167
  },
  "hsl": {
    "h": 252.174,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3795,
    "c": 0.2,
    "h": 280.3
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#391DA7
secondary
#B0C759
accent
#ED3BC9
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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