#391681#391681

#391681 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.162 H 289.0°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#391681
RGBrgb(57, 22, 129)
HSLhsl(260, 71%, 30%)
HSVhsv(260, 83%, 51%)
CMYKcmyk(55.8%, 82.9%, 0%, 49.4%)
CIE-LABlab(20.16, 42.52, -53.28)
CIE-LCHlch(20.16, 68.17, 308.59°)
OKLaboklab(33.11% 0.0529 -0.1533)
OKLCHoklch(33.11% 0.162 289)
XYZxyz(5.9355, 3.0284, 21.0364)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391681 #5E8116
analogous
#162981 #391681 #6F1681
triadic
#391681 #813916 #168139
tetradic
#391681 #811629 #5E8116 #16816F
square
#391681 #811629 #5E8116 #16816F
split-complementary
#391681 #816F16 #298116
monochromatic
#0C041A #220D4D #391681 #501FB5 #6C35DD

Accessibility & contrast

On white

13.08
#391681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#391681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391681
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391681#FFFFFF#000000##FFFFFF
##3916811.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#002E7F
Tritanopia (blue-blind)
#1C364C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391681;
/* rgb */ color: rgb(57, 22, 129);
/* oklch */ color: oklch(33.1% 0.162 289.0);
Tailwind
colors: {
  custom: {
    50: '#7959a7',
    500: '#391681',
    950: '#000000',
  },
}
SCSS
$custom: #391681;
$custom-light: #7959a7;
$custom-dark: #000000;
JSON
{
  "hex": "#391681",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 259.626,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33113,
    "c": 0.16214,
    "h": 289
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#391681
secondary
#8EB63D
accent
#EE3AB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391681

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

Preview Lab → · Contrast checker → · Palette generator →

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