#391B92#391B92

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

Color values

HEX#391B92
RGBrgb(57, 27, 146)
HSLhsl(255, 69%, 34%)
HSVhsv(255, 82%, 57%)
CMYKcmyk(61%, 81.5%, 0%, 42.7%)
CIE-LABlab(22.75, 45.17, -59.64)
CIE-LCHlch(22.75, 74.82, 307.13°)
OKLaboklab(35.45% 0.0438 -0.1719)
OKLCHoklch(35.45% 0.177 284.3)
XYZxyz(7.2660, 3.7286, 27.5254)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B92 #74921B
analogous
#1B3992 #391B92 #751B92
triadic
#391B92 #92391B #1B9239
tetradic
#391B92 #921B39 #74921B #1B9275
square
#391B92 #921B39 #74921B #1B9275
split-complementary
#391B92 #92751B #39921B
monochromatic
#11082B #25115E #391B92 #4D25C6 #6F4ADE

Accessibility & contrast

On white

12.03
#391B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391B92
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B92#FFFFFF#000000##FFFFFF
##391B921.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391b92;
/* rgb */ color: rgb(57, 27, 146);
/* oklch */ color: oklch(35.5% 0.177 284.3);
Tailwind
colors: {
  custom: {
    50: '#7b5cb3',
    500: '#391b92',
    950: '#000000',
  },
}
SCSS
$custom: #391b92;
$custom-light: #7b5cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#391b92",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 255.126,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35454,
    "c": 0.17742,
    "h": 284.3
  },
  "luminance": 0.03729
}

Semantic roles & 50–950 ramp

primary
#391B92
secondary
#A2BF49
accent
#EC3CBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391B92

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

Preview Lab → · Contrast checker → · Palette generator →

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