#492298#492298

#492298 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.177 H 290.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#492298
RGBrgb(73, 34, 152)
HSLhsl(260, 63%, 36%)
HSVhsv(260, 78%, 60%)
CMYKcmyk(52%, 77.6%, 0%, 40.4%)
CIE-LABlab(26.24, 45.72, -57.55)
CIE-LCHlch(26.24, 73.50, 308.47°)
OKLaboklab(38.47% 0.0623 -0.1653)
OKLCHoklch(38.47% 0.177 290.6)
XYZxyz(8.9856, 4.8271, 30.1580)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492298 #719822
analogous
#223698 #492298 #842298
triadic
#492298 #984922 #229849
tetradic
#492298 #982236 #719822 #229884
square
#492298 #982236 #719822 #229884
split-complementary
#492298 #988422 #369822
monochromatic
#190C34 #311766 #492298 #612DCA #855ADA

Accessibility & contrast

On white

10.68
#492298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#492298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492298
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492298#FFFFFF#000000##FFFFFF
##4922981.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#2D435C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #492298;
/* rgb */ color: rgb(73, 34, 152);
/* oklch */ color: oklch(38.5% 0.177 290.6);
Tailwind
colors: {
  custom: {
    50: '#8562b7',
    500: '#492298',
    950: '#000000',
  },
}
SCSS
$custom: #492298;
$custom-light: #8562b7;
$custom-dark: #000000;
JSON
{
  "hex": "#492298",
  "rgb": {
    "r": 73,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 259.831,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38472,
    "c": 0.17668,
    "h": 290.6
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#492298
secondary
#9CBE57
accent
#E641B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #492298

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

Preview Lab → · Contrast checker → · Palette generator →

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