#391D9F#391D9F

#391D9F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.191 H 281.6°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#391D9F
RGBrgb(57, 29, 159)
HSLhsl(253, 69%, 37%)
HSVhsv(253, 82%, 62%)
CMYKcmyk(64.2%, 81.8%, 0%, 37.6%)
CIE-LABlab(24.49, 48.06, -64.78)
CIE-LCHlch(24.49, 80.66, 306.57°)
OKLaboklab(37.07% 0.0385 -0.1869)
OKLCHoklch(37.07% 0.191 281.6)
XYZxyz(8.3828, 4.2512, 33.1730)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D9F #839F1D
analogous
#1D429F #391D9F #7A1D9F
triadic
#391D9F #9F391D #1D9F39
tetradic
#391D9F #9F1D42 #839F1D #1D9F7A
square
#391D9F #9F1D42 #839F1D #1D9F7A
split-complementary
#391D9F #9F7A1D #429F1D
monochromatic
#140A37 #26146B #391D9F #4C26D3 #7456E0

Accessibility & contrast

On white

11.35
#391D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#391D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D9F
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D9F#FFFFFF#000000##FFFFFF
##391D9F1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.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: #391d9f;
/* rgb */ color: rgb(57, 29, 159);
/* oklch */ color: oklch(37.1% 0.191 281.6);
Tailwind
colors: {
  custom: {
    50: '#7e5ebd',
    500: '#391d9f',
    950: '#000000',
  },
}
SCSS
$custom: #391d9f;
$custom-light: #7e5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#391d9f",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 252.923,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37073,
    "c": 0.19082,
    "h": 281.6
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #391D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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