#492179#492179

#492179 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.142 H 300.0°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#492179
RGBrgb(73, 33, 121)
HSLhsl(267, 57%, 30%)
HSVhsv(267, 73%, 47%)
CMYKcmyk(39.7%, 72.7%, 0%, 52.5%)
CIE-LABlab(23.29, 37.64, -43.00)
CIE-LCHlch(23.29, 57.14, 311.20°)
OKLaboklab(35.53% 0.0707 -0.1226)
OKLCHoklch(35.53% 0.142 300)
XYZxyz(6.7418, 3.8846, 18.4801)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492179 #517921
analogous
#212579 #492179 #752179
triadic
#492179 #794921 #217949
tetradic
#492179 #792125 #517921 #217975
square
#492179 #792125 #517921 #217975
split-complementary
#492179 #797521 #257921
monochromatic
#0F0719 #2C1449 #492179 #662EA9 #8447CD

Accessibility & contrast

On white

11.82
#492179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#492179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492179
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492179#FFFFFF#000000##FFFFFF
##4921791.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#3E364A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #492179;
/* rgb */ color: rgb(73, 33, 121);
/* oklch */ color: oklch(35.5% 0.142 300.0);
Tailwind
colors: {
  custom: {
    50: '#8060a0',
    500: '#492179',
    950: '#000000',
  },
}
SCSS
$custom: #492179;
$custom-light: #8060a0;
$custom-dark: #000000;
JSON
{
  "hex": "#492179",
  "rgb": {
    "r": 73,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 267.273,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35534,
    "c": 0.14155,
    "h": 300
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#492179
secondary
#7FAC4A
accent
#E0479B
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #492179

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

Preview Lab → · Contrast checker → · Palette generator →

#492179 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva