#391D90#391D90

#391D90 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.173 H 284.4°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#391D90
RGBrgb(57, 29, 144)
HSLhsl(255, 66%, 34%)
HSVhsv(255, 80%, 56%)
CMYKcmyk(60.4%, 79.9%, 0%, 43.5%)
CIE-LABlab(22.87, 43.63, -58.22)
CIE-LCHlch(22.87, 72.75, 306.85°)
OKLaboklab(35.47% 0.0432 -0.1678)
OKLCHoklch(35.47% 0.173 284.4)
XYZxyz(7.1592, 3.7617, 26.7290)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D90 #74901D
analogous
#1D3B90 #391D90 #731D90
triadic
#391D90 #90391D #1D9039
tetradic
#391D90 #901D3B #74901D #1D9073
square
#391D90 #901D3B #74901D #1D9073
split-complementary
#391D90 #90731D #3B901D
monochromatic
#11082A #25135D #391D90 #4D27C3 #6F4CDB

Accessibility & contrast

On white

11.98
#391D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#391D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D90
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D90#FFFFFF#000000##FFFFFF
##391D901.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#023F56
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #391d90;
/* rgb */ color: rgb(57, 29, 144);
/* oklch */ color: oklch(35.5% 0.173 284.4);
Tailwind
colors: {
  custom: {
    50: '#7b5db2',
    500: '#391d90',
    950: '#000000',
  },
}
SCSS
$custom: #391d90;
$custom-light: #7b5db2;
$custom-dark: #000000;
JSON
{
  "hex": "#391d90",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 254.609,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3547,
    "c": 0.17325,
    "h": 284.4
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#391D90
secondary
#A2BD4B
accent
#E93EC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #391D90

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

Preview Lab → · Contrast checker → · Palette generator →

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