#391E92#391E92

#391E92 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.175 H 283.9°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#391E92
RGBrgb(57, 30, 146)
HSLhsl(254, 66%, 35%)
HSVhsv(254, 79%, 57%)
CMYKcmyk(61%, 79.5%, 0%, 42.7%)
CIE-LABlab(23.25, 43.74, -58.83)
CIE-LCHlch(23.25, 73.30, 306.63°)
OKLaboklab(35.8% 0.042 -0.1696)
OKLCHoklch(35.8% 0.175 283.9)
XYZxyz(7.3383, 3.8732, 27.5495)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E92 #77921E
analogous
#1E3D92 #391E92 #731E92
triadic
#391E92 #92391E #1E9239
tetradic
#391E92 #921E3D #77921E #1E9273
square
#391E92 #921E3D #77921E #1E9273
split-complementary
#391E92 #92731E #3D921E
monochromatic
#11092C #25145F #391E92 #4D28C5 #704FDB

Accessibility & contrast

On white

11.83
#391E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#391E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E92
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E92#FFFFFF#000000##FFFFFF
##391E921.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391e92;
/* rgb */ color: rgb(57, 30, 146);
/* oklch */ color: oklch(35.8% 0.175 283.9);
Tailwind
colors: {
  custom: {
    50: '#7b5eb3',
    500: '#391e92',
    950: '#000000',
  },
}
SCSS
$custom: #391e92;
$custom-light: #7b5eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#391e92",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 253.966,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35798,
    "c": 0.17468,
    "h": 283.9
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#391E92
secondary
#A4BE4E
accent
#E93FC1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #391E92

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

Preview Lab → · Contrast checker → · Palette generator →

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