#391879#391879

#391879 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.151 H 291.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#391879
RGBrgb(57, 24, 121)
HSLhsl(260, 67%, 28%)
HSVhsv(260, 80%, 47%)
CMYKcmyk(52.9%, 80.2%, 0%, 52.5%)
CIE-LABlab(19.65, 39.30, -49.02)
CIE-LCHlch(19.65, 62.83, 308.72°)
OKLaboklab(32.51% 0.0541 -0.1408)
OKLCHoklch(32.51% 0.151 291)
XYZxyz(5.4642, 2.9034, 18.3580)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391879 #587918
analogous
#182779 #391879 #691879
triadic
#391879 #793918 #187939
tetradic
#391879 #791827 #587918 #187969
square
#391879 #791827 #587918 #187969
split-complementary
#391879 #796918 #277918
monochromatic
#0C051A #210E46 #391879 #5122AC #6C35D7

Accessibility & contrast

On white

13.28
#391879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#391879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391879
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391879#FFFFFF#000000##FFFFFF
##3918791.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#233348
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391879;
/* rgb */ color: rgb(57, 24, 121);
/* oklch */ color: oklch(32.5% 0.151 291.0);
Tailwind
colors: {
  custom: {
    50: '#7759a1',
    500: '#391879',
    950: '#000000',
  },
}
SCSS
$custom: #391879;
$custom-light: #7759a1;
$custom-dark: #000000;
JSON
{
  "hex": "#391879",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 260.412,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32513,
    "c": 0.15085,
    "h": 291
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#391879
secondary
#88AE3F
accent
#EA3EAF
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391879

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

Preview Lab → · Contrast checker → · Palette generator →

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