#391680#391680

#391680 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.161 H 289.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#391680
RGBrgb(57, 22, 128)
HSLhsl(260, 71%, 29%)
HSVhsv(260, 83%, 50%)
CMYKcmyk(55.5%, 82.8%, 0%, 49.8%)
CIE-LABlab(20.05, 42.24, -52.82)
CIE-LCHlch(20.05, 67.63, 308.65°)
OKLaboklab(33.01% 0.0532 -0.1519)
OKLCHoklch(33.01% 0.161 289.3)
XYZxyz(5.8694, 3.0019, 20.6880)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391680 #5D8016
analogous
#162880 #391680 #6E1680
triadic
#391680 #803916 #168039
tetradic
#391680 #801628 #5D8016 #16806E
square
#391680 #801628 #5D8016 #16806E
split-complementary
#391680 #806E16 #288016
monochromatic
#0C041A #220D4C #391680 #501FB4 #6C34DC

Accessibility & contrast

On white

13.12
#391680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#391680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391680
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391680#FFFFFF#000000##FFFFFF
##3916801.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391680;
/* rgb */ color: rgb(57, 22, 128);
/* oklch */ color: oklch(33.0% 0.161 289.3);
Tailwind
colors: {
  custom: {
    50: '#7859a6',
    500: '#391680',
    950: '#000000',
  },
}
SCSS
$custom: #391680;
$custom-light: #7859a6;
$custom-dark: #000000;
JSON
{
  "hex": "#391680",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 259.811,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33008,
    "c": 0.16099,
    "h": 289.3
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#391680
secondary
#8DB53D
accent
#ED3AB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #391680

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

Preview Lab → · Contrast checker → · Palette generator →

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