#391A96#391A96

#391A96 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.183 H 283.6°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#391A96
RGBrgb(57, 26, 150)
HSLhsl(255, 70%, 35%)
HSVhsv(255, 83%, 59%)
CMYKcmyk(62%, 82.7%, 0%, 41.2%)
CIE-LABlab(23.03, 46.78, -61.65)
CIE-LCHlch(23.03, 77.39, 307.19°)
OKLaboklab(35.78% 0.0431 -0.1778)
OKLCHoklch(35.78% 0.183 283.6)
XYZxyz(7.5601, 3.8101, 29.1853)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A96 #77961A
analogous
#1A3996 #391A96 #771A96
triadic
#391A96 #96391A #1A9639
tetradic
#391A96 #961A39 #77961A #1A9677
square
#391A96 #961A39 #77961A #1A9677
split-complementary
#391A96 #96771A #39961A
monochromatic
#11082E #251162 #391A96 #4D23CA #704BE0

Accessibility & contrast

On white

11.92
#391A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#391A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A96
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A96#FFFFFF#000000##FFFFFF
##391A961.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#004059
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #391a96;
/* rgb */ color: rgb(57, 26, 150);
/* oklch */ color: oklch(35.8% 0.183 283.6);
Tailwind
colors: {
  custom: {
    50: '#7c5cb6',
    500: '#391a96',
    950: '#000000',
  },
}
SCSS
$custom: #391a96;
$custom-light: #7c5cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#391a96",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 255,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35777,
    "c": 0.18291,
    "h": 283.6
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#391A96
secondary
#A4C24A
accent
#ED3BC1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391A96

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

Preview Lab → · Contrast checker → · Palette generator →

#391A96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva