#391D93#391D93

#391D93 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.177 H 283.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#391D93
RGBrgb(57, 29, 147)
HSLhsl(254, 67%, 35%)
HSVhsv(254, 80%, 58%)
CMYKcmyk(61.2%, 80.3%, 0%, 42.4%)
CIE-LABlab(23.19, 44.52, -59.55)
CIE-LCHlch(23.19, 74.35, 306.78°)
OKLaboklab(35.78% 0.0423 -0.1717)
OKLCHoklch(35.78% 0.177 283.8)
XYZxyz(7.3915, 3.8547, 27.9526)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D93 #77931D
analogous
#1D3C93 #391D93 #741D93
triadic
#391D93 #93391D #1D9339
tetradic
#391D93 #931D3C #77931D #1D9374
square
#391D93 #931D3C #77931D #1D9374
split-complementary
#391D93 #93741D #3C931D
monochromatic
#11092D #251360 #391D93 #4D27C6 #704EDC

Accessibility & contrast

On white

11.86
#391D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#391D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D93
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D93#FFFFFF#000000##FFFFFF
##391D931.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #391d93;
/* rgb */ color: rgb(57, 29, 147);
/* oklch */ color: oklch(35.8% 0.177 283.8);
Tailwind
colors: {
  custom: {
    50: '#7b5db4',
    500: '#391d93',
    950: '#000000',
  },
}
SCSS
$custom: #391d93;
$custom-light: #7b5db4;
$custom-dark: #000000;
JSON
{
  "hex": "#391d93",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 254.237,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35785,
    "c": 0.1768,
    "h": 283.8
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#391D93
secondary
#A4BF4D
accent
#EA3EC1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391D93

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

Preview Lab → · Contrast checker → · Palette generator →

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