#391A93#391A93

#391A93 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.179 H 284.2°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#391A93
RGBrgb(57, 26, 147)
HSLhsl(255, 70%, 34%)
HSVhsv(255, 82%, 58%)
CMYKcmyk(61.2%, 82.3%, 0%, 42.4%)
CIE-LABlab(22.70, 45.91, -60.34)
CIE-LCHlch(22.70, 75.82, 307.27°)
OKLaboklab(35.45% 0.0441 -0.1739)
OKLCHoklch(35.45% 0.179 284.2)
XYZxyz(7.3216, 3.7147, 27.9293)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A93 #74931A
analogous
#1A3893 #391A93 #761A93
triadic
#391A93 #93391A #1A9339
tetradic
#391A93 #931A38 #74931A #1A9376
square
#391A93 #931A38 #74931A #1A9376
split-complementary
#391A93 #93761A #38931A
monochromatic
#11082B #25115F #391A93 #4D23C7 #6F49DF

Accessibility & contrast

On white

12.05
#391A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#391A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A93
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A93#FFFFFF#000000##FFFFFF
##391A931.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #391a93;
/* rgb */ color: rgb(57, 26, 147);
/* oklch */ color: oklch(35.5% 0.179 284.2);
Tailwind
colors: {
  custom: {
    50: '#7c5cb4',
    500: '#391a93',
    950: '#000000',
  },
}
SCSS
$custom: #391a93;
$custom-light: #7c5cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#391a93",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 255.372,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35453,
    "c": 0.17945,
    "h": 284.2
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#391A93
secondary
#A2C048
accent
#ED3BBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391A93

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

Preview Lab → · Contrast checker → · Palette generator →

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