#391B90#391B90

#391B90 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.175 H 284.7°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#391B90
RGBrgb(57, 27, 144)
HSLhsl(255, 68%, 34%)
HSVhsv(255, 81%, 56%)
CMYKcmyk(60.4%, 81.3%, 0%, 43.5%)
CIE-LABlab(22.54, 44.58, -58.76)
CIE-LCHlch(22.54, 73.76, 307.19°)
OKLaboklab(35.24% 0.0445 -0.1693)
OKLCHoklch(35.24% 0.175 284.7)
XYZxyz(7.1118, 3.6669, 26.7132)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B90 #72901B
analogous
#1B3790 #391B90 #731B90
triadic
#391B90 #90391B #1B9039
tetradic
#391B90 #901B37 #72901B #1B9073
square
#391B90 #901B37 #72901B #1B9073
split-complementary
#391B90 #90731B #37901B
monochromatic
#100829 #25115C #391B90 #4D25C4 #6F49DD

Accessibility & contrast

On white

12.11
#391B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#391B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B90
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B90#FFFFFF#000000##FFFFFF
##391B901.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#023E56
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #391b90;
/* rgb */ color: rgb(57, 27, 144);
/* oklch */ color: oklch(35.2% 0.175 284.7);
Tailwind
colors: {
  custom: {
    50: '#7b5cb2',
    500: '#391b90',
    950: '#000000',
  },
}
SCSS
$custom: #391b90;
$custom-light: #7b5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#391b90",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 255.385,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3524,
    "c": 0.17509,
    "h": 284.7
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#391B90
secondary
#A0BF48
accent
#EB3DBE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #391B90

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

Preview Lab → · Contrast checker → · Palette generator →

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