#391590#391590

#391590 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.180 H 285.4°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#391590
RGBrgb(57, 21, 144)
HSLhsl(258, 75%, 32%)
HSVhsv(258, 85%, 56%)
CMYKcmyk(60.4%, 85.4%, 0%, 43.5%)
CIE-LABlab(21.65, 47.18, -60.22)
CIE-LCHlch(21.65, 76.50, 308.07°)
OKLaboklab(34.63% 0.048 -0.1735)
OKLCHoklch(34.63% 0.18 285.4)
XYZxyz(6.9880, 3.4194, 26.6719)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391590 #6C9015
analogous
#152F90 #391590 #771590
triadic
#391590 #903915 #159039
tetradic
#391590 #90152F #6C9015 #159077
square
#391590 #90152F #6C9015 #159077
split-complementary
#391590 #907715 #2F9015
monochromatic
#0F0525 #240D5B #391590 #4E1DC5 #6D3DE3

Accessibility & contrast

On white

12.47
#391590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#391590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391590
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391590#FFFFFF#000000##FFFFFF
##3915901.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#033C55
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #391590;
/* rgb */ color: rgb(57, 21, 144);
/* oklch */ color: oklch(34.6% 0.180 285.4);
Tailwind
colors: {
  custom: {
    50: '#7b59b2',
    500: '#391590',
    950: '#000000',
  },
}
SCSS
$custom: #391590;
$custom-light: #7b59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#391590",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 257.561,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34628,
    "c": 0.18003,
    "h": 285.4
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#391590
secondary
#9CC23E
accent
#F137BB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391590

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

Preview Lab → · Contrast checker → · Palette generator →

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