#391E94#391E94

#391E94 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.177 H 283.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#391E94
RGBrgb(57, 30, 148)
HSLhsl(254, 66%, 35%)
HSVhsv(254, 80%, 58%)
CMYKcmyk(61.5%, 79.7%, 0%, 42%)
CIE-LABlab(23.46, 44.33, -59.72)
CIE-LCHlch(23.46, 74.38, 306.59°)
OKLaboklab(36.01% 0.0413 -0.1722)
OKLCHoklch(36.01% 0.177 283.5)
XYZxyz(7.4953, 3.9360, 28.3760)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E94 #79941E
analogous
#1E3E94 #391E94 #741E94
triadic
#391E94 #94391E #1E9439
tetradic
#391E94 #941E3E #79941E #1E9474
square
#391E94 #941E3E #79941E #1E9474
split-complementary
#391E94 #94741E #3E941E
monochromatic
#12092E #251461 #391E94 #4D28C7 #7151DC

Accessibility & contrast

On white

11.75
#391E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#391E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E94
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E94#FFFFFF#000000##FFFFFF
##391E941.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #391e94;
/* rgb */ color: rgb(57, 30, 148);
/* oklch */ color: oklch(36.0% 0.177 283.5);
Tailwind
colors: {
  custom: {
    50: '#7c5eb5',
    500: '#391e94',
    950: '#000000',
  },
}
SCSS
$custom: #391e94;
$custom-light: #7c5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#391e94",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 253.729,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36008,
    "c": 0.17706,
    "h": 283.5
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#391E94
secondary
#A5BF4F
accent
#E93FC2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #391E94

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

Preview Lab → · Contrast checker → · Palette generator →

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