#391B70#391B70

#391B70 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.137 H 293.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#391B70
RGBrgb(57, 27, 112)
HSLhsl(261, 61%, 27%)
HSVhsv(261, 76%, 44%)
CMYKcmyk(49.1%, 75.9%, 0%, 56.1%)
CIE-LABlab(19.32, 35.13, -43.77)
CIE-LCHlch(19.32, 56.13, 308.75°)
OKLaboklab(32.01% 0.0539 -0.1255)
OKLCHoklch(32.01% 0.137 293.2)
XYZxyz(5.0031, 2.8234, 15.6075)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B70 #52701B
analogous
#1B2870 #391B70 #631B70
triadic
#391B70 #70391B #1B7039
tetradic
#391B70 #701B28 #52701B #1B7063
square
#391B70 #701B28 #52701B #1B7063
split-complementary
#391B70 #70631B #28701B
monochromatic
#0D0619 #200F3F #391B70 #5227A1 #6C37CF

Accessibility & contrast

On white

13.42
#391B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#391B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B70
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B70#FFFFFF#000000##FFFFFF
##391B701.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#283144
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391b70;
/* rgb */ color: rgb(57, 27, 112);
/* oklch */ color: oklch(32.0% 0.137 293.2);
Tailwind
colors: {
  custom: {
    50: '#755a9a',
    500: '#391b70',
    950: '#000000',
  },
}
SCSS
$custom: #391b70;
$custom-light: #755a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#391b70",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 261.176,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32014,
    "c": 0.13653,
    "h": 293.2
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#391B70
secondary
#82A542
accent
#E444AC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391B70

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

Preview Lab → · Contrast checker → · Palette generator →

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