#391D9D#391D9D

#391D9D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.189 H 282.0°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#391D9D
RGBrgb(57, 29, 157)
HSLhsl(253, 69%, 36%)
HSVhsv(253, 82%, 62%)
CMYKcmyk(63.7%, 81.5%, 0%, 38.4%)
CIE-LABlab(24.27, 47.47, -63.92)
CIE-LCHlch(24.27, 79.62, 306.60°)
OKLaboklab(36.86% 0.0391 -0.1844)
OKLCHoklch(36.86% 0.189 282)
XYZxyz(8.2106, 4.1823, 32.2663)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D9D #819D1D
analogous
#1D419D #391D9D #791D9D
triadic
#391D9D #9D391D #1D9D39
tetradic
#391D9D #9D1D41 #819D1D #1D9D79
square
#391D9D #9D1D41 #819D1D #1D9D79
split-complementary
#391D9D #9D791D #419D1D
monochromatic
#130A36 #261369 #391D9D #4C27D1 #7355E0

Accessibility & contrast

On white

11.43
#391D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391D9D
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D9D#FFFFFF#000000##FFFFFF
##391D9D1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #391d9d;
/* rgb */ color: rgb(57, 29, 157);
/* oklch */ color: oklch(36.9% 0.189 282.0);
Tailwind
colors: {
  custom: {
    50: '#7d5ebb',
    500: '#391d9d',
    950: '#000000',
  },
}
SCSS
$custom: #391d9d;
$custom-light: #7d5ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#391d9d",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 253.125,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36856,
    "c": 0.1885,
    "h": 282
  },
  "luminance": 0.04183
}

Semantic roles & 50–950 ramp

primary
#391D9D
secondary
#AAC353
accent
#EC3CC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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