#391381#391381

#391381 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.165 H 289.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#391381
RGBrgb(57, 19, 129)
HSLhsl(261, 74%, 29%)
HSVhsv(261, 85%, 51%)
CMYKcmyk(55.8%, 85.3%, 0%, 49.4%)
CIE-LABlab(19.72, 43.79, -54.00)
CIE-LCHlch(19.72, 69.52, 309.04°)
OKLaboklab(32.81% 0.0548 -0.1553)
OKLCHoklch(32.81% 0.165 289.4)
XYZxyz(5.8815, 2.9203, 21.0184)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391381 #5B8113
analogous
#132481 #391381 #701381
triadic
#391381 #813913 #138139
tetradic
#391381 #811324 #5B8113 #138170
square
#391381 #811324 #5B8113 #138170
split-complementary
#391381 #817013 #248113
monochromatic
#0C041B #210B4C #391381 #511BB6 #6C2EE0

Accessibility & contrast

On white

13.26
#391381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#391381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391381
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391381#FFFFFF#000000##FFFFFF
##3913811.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#002D7F
Tritanopia (blue-blind)
#1C354C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391381;
/* rgb */ color: rgb(57, 19, 129);
/* oklch */ color: oklch(32.8% 0.165 289.4);
Tailwind
colors: {
  custom: {
    50: '#7957a7',
    500: '#391381',
    950: '#000000',
  },
}
SCSS
$custom: #391381;
$custom-light: #7957a7;
$custom-dark: #000000;
JSON
{
  "hex": "#391381",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 260.727,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32812,
    "c": 0.16473,
    "h": 289.4
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#391381
secondary
#8BB63A
accent
#F137B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #391381

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

Preview Lab → · Contrast checker → · Palette generator →

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