#391561#391561

#391561 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.126 H 300.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#391561
RGBrgb(57, 21, 97)
HSLhsl(268, 64%, 23%)
HSVhsv(268, 78%, 38%)
CMYKcmyk(41.2%, 78.4%, 0%, 62%)
CIE-LABlab(16.84, 33.98, -37.99)
CIE-LCHlch(16.84, 50.97, 311.81°)
OKLaboklab(29.84% 0.0636 -0.1085)
OKLCHoklch(29.84% 0.126 300.4)
XYZxyz(4.1126, 2.2692, 11.5283)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391561 #3D6115
analogous
#151761 #391561 #5F1561
triadic
#391561 #613915 #156139
tetradic
#391561 #611517 #3D6115 #15615F
square
#391561 #611517 #3D6115 #15615F
split-complementary
#391561 #615F15 #176115
monochromatic
#0F0519 #1B0A2F #391561 #572093 #742BC6

Accessibility & contrast

On white

14.44
#391561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#391561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391561
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391561#FFFFFF#000000##FFFFFF
##3915611.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#30283A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391561;
/* rgb */ color: rgb(57, 21, 97);
/* oklch */ color: oklch(29.8% 0.126 300.4);
Tailwind
colors: {
  custom: {
    50: '#74568f',
    500: '#391561',
    950: '#000000',
  },
}
SCSS
$custom: #391561;
$custom-light: #74568f;
$custom-dark: #000000;
JSON
{
  "hex": "#391561",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 268.421,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29835,
    "c": 0.12573,
    "h": 300.4
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#391561
secondary
#6B983A
accent
#E74098
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #391561

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

Preview Lab → · Contrast checker → · Palette generator →

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