#391C95#391C95

#391C95 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.180 H 283.6°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#391C95
RGBrgb(57, 28, 149)
HSLhsl(254, 68%, 35%)
HSVhsv(254, 81%, 58%)
CMYKcmyk(61.7%, 81.2%, 0%, 41.6%)
CIE-LABlab(23.24, 45.58, -60.70)
CIE-LCHlch(23.24, 75.91, 306.90°)
OKLaboklab(35.89% 0.0423 -0.175)
OKLCHoklch(35.89% 0.18 283.6)
XYZxyz(7.5257, 3.8698, 28.7783)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C95 #78951C
analogous
#1C3C95 #391C95 #761C95
triadic
#391C95 #95391C #1C9539
tetradic
#391C95 #951C3C #78951C #1C9576
square
#391C95 #951C3C #78951C #1C9576
split-complementary
#391C95 #95761C #3C951C
monochromatic
#12092E #251261 #391C95 #4D26C9 #704EDE

Accessibility & contrast

On white

11.84
#391C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391C95
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C95#FFFFFF#000000##FFFFFF
##391C951.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#004059
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #391c95;
/* rgb */ color: rgb(57, 28, 149);
/* oklch */ color: oklch(35.9% 0.180 283.6);
Tailwind
colors: {
  custom: {
    50: '#7c5db5',
    500: '#391c95',
    950: '#000000',
  },
}
SCSS
$custom: #391c95;
$custom-light: #7c5db5;
$custom-dark: #000000;
JSON
{
  "hex": "#391c95",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 254.38,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35885,
    "c": 0.18005,
    "h": 283.6
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #391C95

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

Preview Lab → · Contrast checker → · Palette generator →

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