#391C71#391C71

#391C71 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.137 H 292.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#391C71
RGBrgb(57, 28, 113)
HSLhsl(260, 60%, 28%)
HSVhsv(260, 75%, 44%)
CMYKcmyk(49.6%, 75.2%, 0%, 55.7%)
CIE-LABlab(19.61, 34.89, -43.95)
CIE-LCHlch(19.61, 56.11, 308.44°)
OKLaboklab(32.25% 0.0526 -0.126)
OKLCHoklch(32.25% 0.137 292.7)
XYZxyz(5.0824, 2.8924, 15.9101)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C71 #54711C
analogous
#1C2971 #391C71 #641C71
triadic
#391C71 #71391C #1C7139
tetradic
#391C71 #711C29 #54711C #1C7164
square
#391C71 #711C29 #54711C #1C7164
split-complementary
#391C71 #71641C #29711C
monochromatic
#0C0619 #201040 #391C71 #5228A2 #6C39CE

Accessibility & contrast

On white

13.30
#391C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#391C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C71
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C71#FFFFFF#000000##FFFFFF
##391C711.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#283244
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391c71;
/* rgb */ color: rgb(57, 28, 113);
/* oklch */ color: oklch(32.2% 0.137 292.7);
Tailwind
colors: {
  custom: {
    50: '#765b9b',
    500: '#391c71',
    950: '#000000',
  },
}
SCSS
$custom: #391c71;
$custom-light: #765b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#391c71",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 260.471,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32245,
    "c": 0.13655,
    "h": 292.7
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#391C71
secondary
#84A643
accent
#E344AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391C71

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

Preview Lab → · Contrast checker → · Palette generator →

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