#391480#391480

#391480 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.163 H 289.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#391480
RGBrgb(57, 20, 128)
HSLhsl(261, 73%, 29%)
HSVhsv(261, 84%, 50%)
CMYKcmyk(55.5%, 84.4%, 0%, 49.8%)
CIE-LABlab(19.75, 43.10, -53.31)
CIE-LCHlch(19.75, 68.55, 308.96°)
OKLaboklab(32.8% 0.0546 -0.1533)
OKLCHoklch(32.8% 0.163 289.6)
XYZxyz(5.8326, 2.9284, 20.6758)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391480 #5B8014
analogous
#142580 #391480 #6F1480
triadic
#391480 #803914 #148039
tetradic
#391480 #801425 #5B8014 #14806F
square
#391480 #801425 #5B8014 #14806F
split-complementary
#391480 #806F14 #258014
monochromatic
#0C041A #210C4B #391480 #511CB5 #6C30DF

Accessibility & contrast

On white

13.24
#391480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391480
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391480#FFFFFF#000000##FFFFFF
##3914801.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.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: #391480;
/* rgb */ color: rgb(57, 20, 128);
/* oklch */ color: oklch(32.8% 0.163 289.6);
Tailwind
colors: {
  custom: {
    50: '#7958a6',
    500: '#391480',
    950: '#000000',
  },
}
SCSS
$custom: #391480;
$custom-light: #7958a6;
$custom-dark: #000000;
JSON
{
  "hex": "#391480",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 260.556,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32803,
    "c": 0.16276,
    "h": 289.6
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#391480
secondary
#8BB53B
accent
#F038B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #391480

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

Preview Lab → · Contrast checker → · Palette generator →

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