#491E7B#491E7B

#491E7B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.148 H 299.8°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#491E7B
RGBrgb(73, 30, 123)
HSLhsl(268, 61%, 30%)
HSVhsv(268, 76%, 48%)
CMYKcmyk(40.7%, 75.6%, 0%, 51.8%)
CIE-LABlab(22.91, 39.70, -44.88)
CIE-LCHlch(22.91, 59.92, 311.50°)
OKLaboklab(35.32% 0.0735 -0.1281)
OKLCHoklch(35.32% 0.148 299.8)
XYZxyz(6.7862, 3.7750, 19.1062)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491E7B #507B1E
analogous
#1E227B #491E7B #771E7B
triadic
#491E7B #7B491E #1E7B49
tetradic
#491E7B #7B1E22 #507B1E #1E7B77
square
#491E7B #7B1E22 #507B1E #1E7B77
split-complementary
#491E7B #7B771E #227B1E
monochromatic
#0F0619 #2C124A #491E7B #662AAC #8442D1

Accessibility & contrast

On white

11.97
#491E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#491E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491E7B
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491E7B#FFFFFF#000000##FFFFFF
##491E7B1.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#3D354B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #491e7b;
/* rgb */ color: rgb(73, 30, 123);
/* oklch */ color: oklch(35.3% 0.148 299.8);
Tailwind
colors: {
  custom: {
    50: '#815ea2',
    500: '#491e7b',
    950: '#000000',
  },
}
SCSS
$custom: #491e7b;
$custom-light: #815ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#491e7b",
  "rgb": {
    "r": 73,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 267.742,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.35322,
    "c": 0.1477,
    "h": 299.8
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#491E7B
secondary
#7EAE46
accent
#E4449A
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #491E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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