#491F7E#491F7E

#491F7E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.150 H 298.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#491F7E
RGBrgb(73, 31, 126)
HSLhsl(267, 61%, 31%)
HSVhsv(267, 75%, 49%)
CMYKcmyk(42.1%, 75.4%, 0%, 50.6%)
CIE-LABlab(23.35, 40.01, -46.07)
CIE-LCHlch(23.35, 61.02, 310.97°)
OKLaboklab(35.71% 0.0718 -0.1317)
OKLCHoklch(35.71% 0.15 298.6)
XYZxyz(7.0026, 3.9027, 20.1190)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491F7E #547E1F
analogous
#1F247E #491F7E #781F7E
triadic
#491F7E #7E491F #1F7E49
tetradic
#491F7E #7E1F24 #547E1F #1F7E78
square
#491F7E #7E1F24 #547E1F #1F7E78
split-complementary
#491F7E #7E781F #247E1F
monochromatic
#10071C #2D134D #491F7E #652BAF #8446D1

Accessibility & contrast

On white

11.79
#491F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#491F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491F7E
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491F7E#FFFFFF#000000##FFFFFF
##491F7E1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#3C374C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #491f7e;
/* rgb */ color: rgb(73, 31, 126);
/* oklch */ color: oklch(35.7% 0.150 298.6);
Tailwind
colors: {
  custom: {
    50: '#815fa4',
    500: '#491f7e',
    950: '#000000',
  },
}
SCSS
$custom: #491f7e;
$custom-light: #815fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#491f7e",
  "rgb": {
    "r": 73,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 266.526,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35709,
    "c": 0.14996,
    "h": 298.6
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#491F7E
secondary
#83B148
accent
#E4449D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #491F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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