#391880#391880

#391880 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.159 H 289.0°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#391880
RGBrgb(57, 24, 128)
HSLhsl(259, 68%, 30%)
HSVhsv(259, 81%, 50%)
CMYKcmyk(55.5%, 81.3%, 0%, 49.8%)
CIE-LABlab(20.37, 41.32, -52.30)
CIE-LCHlch(20.37, 66.65, 308.31°)
OKLaboklab(33.23% 0.0518 -0.1504)
OKLCHoklch(33.23% 0.159 289)
XYZxyz(5.9091, 3.0814, 20.7013)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391880 #5F8018
analogous
#182B80 #391880 #6D1880
triadic
#391880 #803918 #188039
tetradic
#391880 #80182B #5F8018 #18806D
square
#391880 #80182B #5F8018 #18806D
split-complementary
#391880 #806D18 #2B8018
monochromatic
#0B051A #220E4C #391880 #5022B4 #6C39DA

Accessibility & contrast

On white

12.99
#391880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#391880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391880
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391880#FFFFFF#000000##FFFFFF
##3918801.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#1D364C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391880;
/* rgb */ color: rgb(57, 24, 128);
/* oklch */ color: oklch(33.2% 0.159 289.0);
Tailwind
colors: {
  custom: {
    50: '#785aa6',
    500: '#391880',
    950: '#000000',
  },
}
SCSS
$custom: #391880;
$custom-light: #785aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#391880",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 259.038,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33227,
    "c": 0.15911,
    "h": 289
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#391880
secondary
#8FB440
accent
#EB3DB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #391880

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

Preview Lab → · Contrast checker → · Palette generator →

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