#491F7C#491F7C

#491F7C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.148 H 299.3°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#491F7C
RGBrgb(73, 31, 124)
HSLhsl(267, 60%, 30%)
HSVhsv(267, 75%, 49%)
CMYKcmyk(41.1%, 75%, 0%, 51.4%)
CIE-LABlab(23.17, 39.47, -45.09)
CIE-LCHlch(23.17, 59.92, 311.20°)
OKLaboklab(35.53% 0.0722 -0.1288)
OKLCHoklch(35.53% 0.148 299.3)
XYZxyz(6.8748, 3.8516, 19.4461)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491F7C #527C1F
analogous
#1F237C #491F7C #771F7C
triadic
#491F7C #7C491F #1F7C49
tetradic
#491F7C #7C1F23 #527C1F #1F7C77
square
#491F7C #7C1F23 #527C1F #1F7C77
split-complementary
#491F7C #7C771F #237C1F
monochromatic
#0F071A #2C134B #491F7C #662BAD #8445D0

Accessibility & contrast

On white

11.86
#491F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#491F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491F7C
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491F7C#FFFFFF#000000##FFFFFF
##491F7C1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#3D364B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #491f7c;
/* rgb */ color: rgb(73, 31, 124);
/* oklch */ color: oklch(35.5% 0.148 299.3);
Tailwind
colors: {
  custom: {
    50: '#815fa3',
    500: '#491f7c',
    950: '#000000',
  },
}
SCSS
$custom: #491f7c;
$custom-light: #815fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#491f7c",
  "rgb": {
    "r": 73,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 267.097,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35533,
    "c": 0.14763,
    "h": 299.3
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#491F7C
secondary
#80AF48
accent
#E3459C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #491F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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