#391A9E#391A9E

#391A9E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.192 H 282.1°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#391A9E
RGBrgb(57, 26, 158)
HSLhsl(254, 72%, 36%)
HSVhsv(254, 84%, 62%)
CMYKcmyk(63.9%, 83.5%, 0%, 38%)
CIE-LABlab(23.92, 49.09, -65.09)
CIE-LCHlch(23.92, 81.53, 307.02°)
OKLaboklab(36.65% 0.0403 -0.1878)
OKLCHoklch(36.65% 0.192 282.1)
XYZxyz(8.2264, 4.0767, 32.6945)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A9E #7F9E1A
analogous
#1A3D9E #391A9E #7B1A9E
triadic
#391A9E #9E391A #1A9E39
tetradic
#391A9E #9E1A3D #7F9E1A #1A9E7B
square
#391A9E #9E1A3D #7F9E1A #1A9E7B
split-complementary
#391A9E #9E7B1A #3D9E1A
monochromatic
#130935 #261169 #391A9E #4C23D3 #7250E2

Accessibility & contrast

On white

11.57
#391A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#391A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A9E
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A9E#FFFFFF#000000##FFFFFF
##391A9E1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #391a9e;
/* rgb */ color: rgb(57, 26, 158);
/* oklch */ color: oklch(36.7% 0.192 282.1);
Tailwind
colors: {
  custom: {
    50: '#7e5dbc',
    500: '#391a9e',
    950: '#000000',
  },
}
SCSS
$custom: #391a9e;
$custom-light: #7e5dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#391a9e",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 254.091,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36653,
    "c": 0.19206,
    "h": 282.1
  },
  "luminance": 0.04077
}

Semantic roles & 50–950 ramp

primary
#391A9E
secondary
#A9C54F
accent
#EE39C4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #391A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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