#391081#391081

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

Color values

HEX#391081
RGBrgb(57, 16, 129)
HSLhsl(262, 78%, 28%)
HSVhsv(262, 88%, 51%)
CMYKcmyk(55.8%, 87.6%, 0%, 49.4%)
CIE-LABlab(19.33, 44.95, -54.65)
CIE-LCHlch(19.33, 70.76, 309.44°)
OKLaboklab(32.54% 0.0566 -0.1572)
OKLCHoklch(32.54% 0.167 289.8)
XYZxyz(5.8339, 2.8251, 21.0025)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391081 #588110
analogous
#101F81 #391081 #711081
triadic
#391081 #813910 #108139
tetradic
#391081 #81101F #588110 #108171
square
#391081 #81101F #588110 #108171
split-complementary
#391081 #817110 #1F8110
monochromatic
#0C031B #21094B #391081 #5117B7 #6C27E4

Accessibility & contrast

On white

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

On black

1.57
#391081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##391081#FFFFFF#000000##FFFFFF
##3910811.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#1C344B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391081;
/* rgb */ color: rgb(57, 16, 129);
/* oklch */ color: oklch(32.5% 0.167 289.8);
Tailwind
colors: {
  custom: {
    50: '#7956a7',
    500: '#391081',
    950: '#000000',
  },
}
SCSS
$custom: #391081;
$custom-light: #7956a7;
$custom-dark: #000000;
JSON
{
  "hex": "#391081",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 261.77,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32543,
    "c": 0.16706,
    "h": 289.8
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#391081
secondary
#88B736
accent
#F433AE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #391081

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

Preview Lab → · Contrast checker → · Palette generator →

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