#391C90#391C90

#391C90 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.174 H 284.6°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#391C90
RGBrgb(57, 28, 144)
HSLhsl(255, 67%, 34%)
HSVhsv(255, 81%, 56%)
CMYKcmyk(60.4%, 80.6%, 0%, 43.5%)
CIE-LABlab(22.70, 44.11, -58.49)
CIE-LCHlch(22.70, 73.26, 307.02°)
OKLaboklab(35.35% 0.0439 -0.1686)
OKLCHoklch(35.35% 0.174 284.6)
XYZxyz(7.1351, 3.7135, 26.7209)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C90 #73901C
analogous
#1C3990 #391C90 #731C90
triadic
#391C90 #90391C #1C9039
tetradic
#391C90 #901C39 #73901C #1C9073
square
#391C90 #901C39 #73901C #1C9073
split-complementary
#391C90 #90731C #39901C
monochromatic
#10082A #25125D #391C90 #4D26C3 #6F4ADC

Accessibility & contrast

On white

12.05
#391C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#391C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C90
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C90#FFFFFF#000000##FFFFFF
##391C901.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#023E56
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #391c90;
/* rgb */ color: rgb(57, 28, 144);
/* oklch */ color: oklch(35.4% 0.174 284.6);
Tailwind
colors: {
  custom: {
    50: '#7b5db2',
    500: '#391c90',
    950: '#000000',
  },
}
SCSS
$custom: #391c90;
$custom-light: #7b5db2;
$custom-dark: #000000;
JSON
{
  "hex": "#391c90",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 255,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35353,
    "c": 0.17418,
    "h": 284.6
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#391C90
secondary
#A1BE4A
accent
#EA3DBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #391C90

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

Preview Lab → · Contrast checker → · Palette generator →

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