#391580#391580

#391580 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.162 H 289.4°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#391580
RGBrgb(57, 21, 128)
HSLhsl(260, 72%, 29%)
HSVhsv(260, 84%, 50%)
CMYKcmyk(55.5%, 83.6%, 0%, 49.8%)
CIE-LABlab(19.90, 42.68, -53.07)
CIE-LCHlch(19.90, 68.10, 308.81°)
OKLaboklab(32.9% 0.0539 -0.1526)
OKLCHoklch(32.9% 0.162 289.4)
XYZxyz(5.8507, 2.9644, 20.6818)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391580 #5C8015
analogous
#152780 #391580 #6F1580
triadic
#391580 #803915 #158039
tetradic
#391580 #801527 #5C8015 #15806F
square
#391580 #801527 #5C8015 #15806F
split-complementary
#391580 #806F15 #278015
monochromatic
#0C041A #220C4B #391580 #501EB5 #6C32DD

Accessibility & contrast

On white

13.18
#391580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#391580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391580
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391580#FFFFFF#000000##FFFFFF
##3915801.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#1D354B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391580;
/* rgb */ color: rgb(57, 21, 128);
/* oklch */ color: oklch(32.9% 0.162 289.4);
Tailwind
colors: {
  custom: {
    50: '#7958a6',
    500: '#391580',
    950: '#000000',
  },
}
SCSS
$custom: #391580;
$custom-light: #7958a6;
$custom-dark: #000000;
JSON
{
  "hex": "#391580",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 260.187,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32904,
    "c": 0.16189,
    "h": 289.4
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#391580
secondary
#8CB53C
accent
#EF39B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #391580

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

Preview Lab → · Contrast checker → · Palette generator →

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