#391689#391689

#391689 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.171 H 287.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#391689
RGBrgb(57, 22, 137)
HSLhsl(258, 72%, 31%)
HSVhsv(258, 84%, 54%)
CMYKcmyk(58.4%, 83.9%, 0%, 46.3%)
CIE-LABlab(21.02, 44.79, -56.90)
CIE-LCHlch(21.02, 72.42, 308.21°)
OKLaboklab(33.96% 0.05 -0.1639)
OKLCHoklch(33.96% 0.171 287)
XYZxyz(6.4883, 3.2495, 23.9474)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391689 #668916
analogous
#162C89 #391689 #721689
triadic
#391689 #893916 #168939
tetradic
#391689 #89162C #668916 #168972
square
#391689 #89162C #668916 #168972
split-complementary
#391689 #897216 #2C8916
monochromatic
#0D0520 #230E54 #391689 #4F1EBE #6C3ADF

Accessibility & contrast

On white

12.73
#391689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#391689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391689
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391689#FFFFFF#000000##FFFFFF
##3916891.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#123951
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #391689;
/* rgb */ color: rgb(57, 22, 137);
/* oklch */ color: oklch(34.0% 0.171 287.0);
Tailwind
colors: {
  custom: {
    50: '#7a59ad',
    500: '#391689',
    950: '#000000',
  },
}
SCSS
$custom: #391689;
$custom-light: #7a59ad;
$custom-dark: #000000;
JSON
{
  "hex": "#391689",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 258.261,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33963,
    "c": 0.17132,
    "h": 287
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#391689
secondary
#96BD3E
accent
#EF39B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391689

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

Preview Lab → · Contrast checker → · Palette generator →

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