#391490#391490

#391490 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.181 H 285.5°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#391490
RGBrgb(57, 20, 144)
HSLhsl(258, 76%, 32%)
HSVhsv(258, 86%, 56%)
CMYKcmyk(60.4%, 86.1%, 0%, 43.5%)
CIE-LABlab(21.52, 47.57, -60.44)
CIE-LCHlch(21.52, 76.92, 308.20°)
OKLaboklab(34.54% 0.0485 -0.1742)
OKLCHoklch(34.54% 0.181 285.5)
XYZxyz(6.9700, 3.3834, 26.6659)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391490 #6B9014
analogous
#142D90 #391490 #771490
triadic
#391490 #903914 #149039
tetradic
#391490 #90142D #6B9014 #149077
square
#391490 #90142D #6B9014 #149077
split-complementary
#391490 #907714 #2D9014
monochromatic
#0E0525 #240D5A #391490 #4E1BC6 #6D3BE4

Accessibility & contrast

On white

12.52
#391490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391490
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391490#FFFFFF#000000##FFFFFF
##3914901.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.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: #391490;
/* rgb */ color: rgb(57, 20, 144);
/* oklch */ color: oklch(34.5% 0.181 285.5);
Tailwind
colors: {
  custom: {
    50: '#7c59b2',
    500: '#391490',
    950: '#000000',
  },
}
SCSS
$custom: #391490;
$custom-light: #7c59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#391490",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 257.903,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34538,
    "c": 0.18078,
    "h": 285.5
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#391490
secondary
#9BC33D
accent
#F236BA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391490

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

Preview Lab → · Contrast checker → · Palette generator →

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