#391A73#391A73

#391A73 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.141 H 292.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#391A73
RGBrgb(57, 26, 115)
HSLhsl(261, 63%, 28%)
HSVhsv(261, 77%, 45%)
CMYKcmyk(50.4%, 77.4%, 0%, 54.9%)
CIE-LABlab(19.42, 36.55, -45.55)
CIE-LCHlch(19.42, 58.40, 308.74°)
OKLaboklab(32.17% 0.0541 -0.1307)
OKLCHoklch(32.17% 0.141 292.5)
XYZxyz(5.1504, 2.8463, 16.4943)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A73 #54731A
analogous
#1A2773 #391A73 #661A73
triadic
#391A73 #73391A #1A7339
tetradic
#391A73 #731A27 #54731A #1A7366
square
#391A73 #731A27 #54731A #1A7366
split-complementary
#391A73 #73661A #27731A
monochromatic
#0C0619 #200F41 #391A73 #5225A5 #6C36D2

Accessibility & contrast

On white

13.38
#391A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#391A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A73
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A73#FFFFFF#000000##FFFFFF
##391A731.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#273245
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391a73;
/* rgb */ color: rgb(57, 26, 115);
/* oklch */ color: oklch(32.2% 0.141 292.5);
Tailwind
colors: {
  custom: {
    50: '#765a9c',
    500: '#391a73',
    950: '#000000',
  },
}
SCSS
$custom: #391a73;
$custom-light: #765a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#391a73",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 260.899,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32168,
    "c": 0.14143,
    "h": 292.5
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#391A73
secondary
#84A841
accent
#E642AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391A73

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

Preview Lab → · Contrast checker → · Palette generator →

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