#391B73#391B73

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

Color values

HEX#391B73
RGBrgb(57, 27, 115)
HSLhsl(260, 62%, 28%)
HSVhsv(260, 77%, 45%)
CMYKcmyk(50.4%, 76.5%, 0%, 54.9%)
CIE-LABlab(19.60, 36.02, -45.25)
CIE-LCHlch(19.60, 57.83, 308.52°)
OKLaboklab(32.3% 0.0531 -0.1298)
OKLCHoklch(32.3% 0.14 292.3)
XYZxyz(5.1729, 2.8913, 16.5019)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B73 #55731B
analogous
#1B2973 #391B73 #651B73
triadic
#391B73 #73391B #1B7339
tetradic
#391B73 #731B29 #55731B #1B7365
square
#391B73 #731B29 #55731B #1B7365
split-complementary
#391B73 #73651B #29731B
monochromatic
#0C0619 #200F41 #391B73 #5227A5 #6C38D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##391B73#FFFFFF#000000##FFFFFF
##391B731.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)
#003176
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#273245
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391b73;
/* rgb */ color: rgb(57, 27, 115);
/* oklch */ color: oklch(32.3% 0.140 292.3);
Tailwind
colors: {
  custom: {
    50: '#765a9c',
    500: '#391b73',
    950: '#000000',
  },
}
SCSS
$custom: #391b73;
$custom-light: #765a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#391b73",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 260.455,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32299,
    "c": 0.14025,
    "h": 292.3
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#391B73
secondary
#85A842
accent
#E543AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391B73

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

Preview Lab → · Contrast checker → · Palette generator →

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