#391679#391679

#391679 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.153 H 291.3°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#391679
RGBrgb(57, 22, 121)
HSLhsl(261, 69%, 28%)
HSVhsv(261, 82%, 47%)
CMYKcmyk(52.9%, 81.8%, 0%, 52.5%)
CIE-LABlab(19.32, 40.25, -49.56)
CIE-LCHlch(19.32, 63.84, 309.08°)
OKLaboklab(32.28% 0.0556 -0.1424)
OKLCHoklch(32.28% 0.153 291.3)
XYZxyz(5.4245, 2.8239, 18.3447)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391679 #567916
analogous
#162479 #391679 #6A1679
triadic
#391679 #793916 #167939
tetradic
#391679 #791624 #567916 #16796A
square
#391679 #791624 #567916 #16796A
split-complementary
#391679 #796A16 #247916
monochromatic
#0C051A #210D45 #391679 #511FAD #6C30D9

Accessibility & contrast

On white

13.42
#391679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#391679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391679
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391679#FFFFFF#000000##FFFFFF
##3916791.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#233247
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391679;
/* rgb */ color: rgb(57, 22, 121);
/* oklch */ color: oklch(32.3% 0.153 291.3);
Tailwind
colors: {
  custom: {
    50: '#7758a1',
    500: '#391679',
    950: '#000000',
  },
}
SCSS
$custom: #391679;
$custom-light: #7758a1;
$custom-dark: #000000;
JSON
{
  "hex": "#391679",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 261.212,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32284,
    "c": 0.15287,
    "h": 291.3
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#391679
secondary
#86AE3D
accent
#EC3CAE
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391679

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

Preview Lab → · Contrast checker → · Palette generator →

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