#391C94#391C94

#391C94 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.179 H 283.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#391C94
RGBrgb(57, 28, 148)
HSLhsl(255, 68%, 35%)
HSVhsv(255, 81%, 58%)
CMYKcmyk(61.5%, 81.1%, 0%, 42%)
CIE-LABlab(23.13, 45.29, -60.26)
CIE-LCHlch(23.13, 75.38, 306.93°)
OKLaboklab(35.78% 0.0426 -0.1737)
OKLCHoklch(35.78% 0.179 283.8)
XYZxyz(7.4462, 3.8380, 28.3597)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C94 #77941C
analogous
#1C3B94 #391C94 #751C94
triadic
#391C94 #94391C #1C9439
tetradic
#391C94 #941C3B #77941C #1C9475
square
#391C94 #941C3B #77941C #1C9475
split-complementary
#391C94 #94751C #3B941C
monochromatic
#11092D #251261 #391C94 #4D26C7 #704DDD

Accessibility & contrast

On white

11.88
#391C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391C94
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C94#FFFFFF#000000##FFFFFF
##391C941.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391c94;
/* rgb */ color: rgb(57, 28, 148);
/* oklch */ color: oklch(35.8% 0.179 283.8);
Tailwind
colors: {
  custom: {
    50: '#7c5db5',
    500: '#391c94',
    950: '#000000',
  },
}
SCSS
$custom: #391c94;
$custom-light: #7c5db5;
$custom-dark: #000000;
JSON
{
  "hex": "#391c94",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 254.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35778,
    "c": 0.17887,
    "h": 283.8
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#391C94
secondary
#A4C04C
accent
#EB3DC1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391C94

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

Preview Lab → · Contrast checker → · Palette generator →

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