#391A94#391A94

#391A94 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.6% C 0.181 H 284.0°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#391A94
RGBrgb(57, 26, 148)
HSLhsl(255, 70%, 34%)
HSVhsv(255, 82%, 58%)
CMYKcmyk(61.5%, 82.4%, 0%, 42%)
CIE-LABlab(22.81, 46.20, -60.78)
CIE-LCHlch(22.81, 76.35, 307.24°)
OKLaboklab(35.56% 0.0438 -0.1752)
OKLCHoklch(35.56% 0.181 284)
XYZxyz(7.4004, 3.7463, 28.3444)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A94 #75941A
analogous
#1A3894 #391A94 #761A94
triadic
#391A94 #94391A #1A9439
tetradic
#391A94 #941A38 #75941A #1A9476
square
#391A94 #941A38 #75941A #1A9476
split-complementary
#391A94 #94761A #38941A
monochromatic
#11082C #251160 #391A94 #4D23C8 #6F49DF

Accessibility & contrast

On white

12.00
#391A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#391A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A94
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A94#FFFFFF#000000##FFFFFF
##391A941.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#003F58
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #391a94;
/* rgb */ color: rgb(57, 26, 148);
/* oklch */ color: oklch(35.6% 0.181 284.0);
Tailwind
colors: {
  custom: {
    50: '#7c5cb5',
    500: '#391a94',
    950: '#000000',
  },
}
SCSS
$custom: #391a94;
$custom-light: #7c5cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#391a94",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 255.246,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3556,
    "c": 0.1806,
    "h": 284
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #391A94

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

Preview Lab → · Contrast checker → · Palette generator →

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