#391F73#391F73

#391F73 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.135 H 291.3°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#391F73
RGBrgb(57, 31, 115)
HSLhsl(259, 58%, 29%)
HSVhsv(259, 73%, 45%)
CMYKcmyk(50.4%, 73%, 0%, 54.9%)
CIE-LABlab(20.39, 33.82, -43.96)
CIE-LCHlch(20.39, 55.46, 307.57°)
OKLaboklab(32.86% 0.0492 -0.126)
OKLCHoklch(32.86% 0.135 291.3)
XYZxyz(5.2710, 3.0874, 16.5345)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391F73 #59731F
analogous
#1F2F73 #391F73 #631F73
triadic
#391F73 #73391F #1F7339
tetradic
#391F73 #731F2F #59731F #1F7363
square
#391F73 #731F2F #59731F #1F7363
split-complementary
#391F73 #73631F #2F731F
monochromatic
#0C0618 #211243 #391F73 #512CA3 #6C41CC

Accessibility & contrast

On white

12.98
#391F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#391F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391F73
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391F73#FFFFFF#000000##FFFFFF
##391F731.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#263446
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391f73;
/* rgb */ color: rgb(57, 31, 115);
/* oklch */ color: oklch(32.9% 0.135 291.3);
Tailwind
colors: {
  custom: {
    50: '#765d9c',
    500: '#391f73',
    950: '#000000',
  },
}
SCSS
$custom: #391f73;
$custom-light: #765d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#391f73",
  "rgb": {
    "r": 57,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 258.571,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32858,
    "c": 0.13529,
    "h": 291.3
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#391F73
secondary
#89A747
accent
#E147B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391F73

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

Preview Lab → · Contrast checker → · Palette generator →

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