#491F78#491F78

#491F78 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.143 H 300.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#491F78
RGBrgb(73, 31, 120)
HSLhsl(268, 59%, 30%)
HSVhsv(268, 74%, 47%)
CMYKcmyk(39.2%, 74.2%, 0%, 52.9%)
CIE-LABlab(22.84, 38.40, -43.09)
CIE-LCHlch(22.84, 57.72, 311.70°)
OKLaboklab(35.19% 0.0731 -0.1229)
OKLCHoklch(35.19% 0.143 300.7)
XYZxyz(6.6270, 3.7525, 18.1408)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491F78 #4E781F
analogous
#1F2178 #491F78 #761F78
triadic
#491F78 #78491F #1F7849
tetradic
#491F78 #781F21 #4E781F #1F7876
square
#491F78 #781F21 #4E781F #1F7876
split-complementary
#491F78 #78761F #21781F
monochromatic
#0F0618 #2B1247 #491F78 #672CA9 #8543CE

Accessibility & contrast

On white

12.00
#491F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#491F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491F78
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491F78#FFFFFF#000000##FFFFFF
##491F781.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#3F3549
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #491f78;
/* rgb */ color: rgb(73, 31, 120);
/* oklch */ color: oklch(35.2% 0.143 300.7);
Tailwind
colors: {
  custom: {
    50: '#805fa0',
    500: '#491f78',
    950: '#000000',
  },
}
SCSS
$custom: #491f78;
$custom-light: #805fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#491f78",
  "rgb": {
    "r": 73,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 268.315,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35187,
    "c": 0.14298,
    "h": 300.7
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#491F78
secondary
#7CAB47
accent
#E24698
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #491F78

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

Preview Lab → · Contrast checker → · Palette generator →

#491F78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva