#492479#492479

#492479 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.137 H 299.3°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#492479
RGBrgb(73, 36, 121)
HSLhsl(266, 54%, 31%)
HSVhsv(266, 70%, 47%)
CMYKcmyk(39.7%, 70.2%, 0%, 52.5%)
CIE-LABlab(23.86, 36.03, -42.06)
CIE-LCHlch(23.86, 55.38, 310.59°)
OKLaboklab(35.95% 0.0673 -0.1199)
OKLCHoklch(35.95% 0.137 299.3)
XYZxyz(6.8289, 4.0586, 18.5091)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492479 #547924
analogous
#242979 #492479 #732479
triadic
#492479 #794924 #247949
tetradic
#492479 #792429 #547924 #247973
square
#492479 #792429 #547924 #247973
split-complementary
#492479 #797324 #297924
monochromatic
#10081B #2D164A #492479 #6532A8 #844DCA

Accessibility & contrast

On white

11.59
#492479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#492479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492479
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492479#FFFFFF#000000##FFFFFF
##4924791.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#3E384B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #492479;
/* rgb */ color: rgb(73, 36, 121);
/* oklch */ color: oklch(35.9% 0.137 299.3);
Tailwind
colors: {
  custom: {
    50: '#8062a0',
    500: '#492479',
    950: '#000000',
  },
}
SCSS
$custom: #492479;
$custom-light: #8062a0;
$custom-dark: #000000;
JSON
{
  "hex": "#492479",
  "rgb": {
    "r": 73,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 266.118,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35947,
    "c": 0.13749,
    "h": 299.3
  },
  "luminance": 0.04059
}

Semantic roles & 50–950 ramp

primary
#492479
secondary
#82AC4D
accent
#DE4A9D
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #492479

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

Preview Lab → · Contrast checker → · Palette generator →

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