#391A90#391A90

#391A90 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.176 H 284.9°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#391A90
RGBrgb(57, 26, 144)
HSLhsl(256, 69%, 33%)
HSVhsv(256, 82%, 56%)
CMYKcmyk(60.4%, 81.9%, 0%, 43.5%)
CIE-LABlab(22.38, 45.04, -59.02)
CIE-LCHlch(22.38, 74.24, 307.35°)
OKLaboklab(35.13% 0.0451 -0.1701)
OKLCHoklch(35.13% 0.176 284.9)
XYZxyz(7.0892, 3.6218, 26.7057)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A90 #71901A
analogous
#1A3690 #391A90 #741A90
triadic
#391A90 #90391A #1A9039
tetradic
#391A90 #901A36 #71901A #1A9074
square
#391A90 #901A36 #71901A #1A9074
split-complementary
#391A90 #90741A #36901A
monochromatic
#100728 #24115C #391A90 #4E23C4 #6E47DE

Accessibility & contrast

On white

12.18
#391A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#391A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A90
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A90#FFFFFF#000000##FFFFFF
##391A901.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391a90;
/* rgb */ color: rgb(57, 26, 144);
/* oklch */ color: oklch(35.1% 0.176 284.9);
Tailwind
colors: {
  custom: {
    50: '#7b5cb2',
    500: '#391a90',
    950: '#000000',
  },
}
SCSS
$custom: #391a90;
$custom-light: #7b5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#391a90",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 255.763,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35131,
    "c": 0.17597,
    "h": 284.9
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#391A90
secondary
#A0BF47
accent
#EC3CBE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #391A90

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

Preview Lab → · Contrast checker → · Palette generator →

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