#391990#391990

#391990 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.177 H 285.0°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#391990
RGBrgb(57, 25, 144)
HSLhsl(256, 70%, 33%)
HSVhsv(256, 83%, 56%)
CMYKcmyk(60.4%, 82.6%, 0%, 43.5%)
CIE-LABlab(22.23, 45.49, -59.28)
CIE-LCHlch(22.23, 74.72, 307.50°)
OKLaboklab(35.02% 0.0457 -0.1708)
OKLCHoklch(35.02% 0.177 285)
XYZxyz(7.0675, 3.5783, 26.6984)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391990 #709019
analogous
#193590 #391990 #741990
triadic
#391990 #903919 #199039
tetradic
#391990 #901935 #709019 #199074
square
#391990 #901935 #709019 #199074
split-complementary
#391990 #907419 #359019
monochromatic
#100728 #24105C #391990 #4E22C4 #6E45DF

Accessibility & contrast

On white

12.24
#391990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#391990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391990
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391990#FFFFFF#000000##FFFFFF
##3919901.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#033D55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #391990;
/* rgb */ color: rgb(57, 25, 144);
/* oklch */ color: oklch(35.0% 0.177 285.0);
Tailwind
colors: {
  custom: {
    50: '#7b5bb2',
    500: '#391990',
    950: '#000000',
  },
}
SCSS
$custom: #391990;
$custom-light: #7b5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#391990",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 256.134,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35024,
    "c": 0.17683,
    "h": 285
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#391990
secondary
#9FC045
accent
#ED3BBD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391990

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

Preview Lab → · Contrast checker → · Palette generator →

#391990 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva