#391A95#391A95

#391A95 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.182 H 283.8°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#391A95
RGBrgb(57, 26, 149)
HSLhsl(255, 70%, 34%)
HSVhsv(255, 83%, 58%)
CMYKcmyk(61.7%, 82.6%, 0%, 41.6%)
CIE-LABlab(22.92, 46.49, -61.22)
CIE-LCHlch(22.92, 76.87, 307.21°)
OKLaboklab(35.67% 0.0434 -0.1765)
OKLCHoklch(35.67% 0.182 283.8)
XYZxyz(7.4799, 3.7781, 28.7630)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A95 #76951A
analogous
#1A3995 #391A95 #771A95
triadic
#391A95 #95391A #1A9539
tetradic
#391A95 #951A39 #76951A #1A9577
square
#391A95 #951A39 #76951A #1A9577
split-complementary
#391A95 #95771A #39951A
monochromatic
#11082D #251161 #391A95 #4D23C9 #704ADF

Accessibility & contrast

On white

11.96
#391A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391A95
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A95#FFFFFF#000000##FFFFFF
##391A951.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #391a95;
/* rgb */ color: rgb(57, 26, 149);
/* oklch */ color: oklch(35.7% 0.182 283.8);
Tailwind
colors: {
  custom: {
    50: '#7c5cb5',
    500: '#391a95',
    950: '#000000',
  },
}
SCSS
$custom: #391a95;
$custom-light: #7c5cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#391a95",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 255.122,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35669,
    "c": 0.18175,
    "h": 283.8
  },
  "luminance": 0.03779
}

Semantic roles & 50–950 ramp

primary
#391A95
secondary
#A3C14A
accent
#ED3BC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391A95

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

Preview Lab → · Contrast checker → · Palette generator →

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