#391D73#391D73

#391D73 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.138 H 291.8°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#391D73
RGBrgb(57, 29, 115)
HSLhsl(260, 60%, 28%)
HSVhsv(260, 75%, 45%)
CMYKcmyk(50.4%, 74.8%, 0%, 54.9%)
CIE-LABlab(19.99, 34.94, -44.62)
CIE-LCHlch(19.99, 56.67, 308.06°)
OKLaboklab(32.57% 0.0512 -0.128)
OKLCHoklch(32.57% 0.138 291.8)
XYZxyz(5.2203, 2.9862, 16.5177)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D73 #57731D
analogous
#1D2C73 #391D73 #641D73
triadic
#391D73 #73391D #1D7339
tetradic
#391D73 #731D2C #57731D #1D7364
square
#391D73 #731D2C #57731D #1D7364
split-complementary
#391D73 #73641D #2C731D
monochromatic
#0C0618 #211142 #391D73 #5129A4 #6C3CCE

Accessibility & contrast

On white

13.15
#391D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#391D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D73
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D73#FFFFFF#000000##FFFFFF
##391D731.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#263346
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391d73;
/* rgb */ color: rgb(57, 29, 115);
/* oklch */ color: oklch(32.6% 0.138 291.8);
Tailwind
colors: {
  custom: {
    50: '#765c9c',
    500: '#391d73',
    950: '#000000',
  },
}
SCSS
$custom: #391d73;
$custom-light: #765c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#391d73",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 259.535,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32572,
    "c": 0.13782,
    "h": 291.8
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#391D73
secondary
#87A745
accent
#E345AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391D73

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

Preview Lab → · Contrast checker → · Palette generator →

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