#492198#492198

#492198 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.178 H 290.8°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#492198
RGBrgb(73, 33, 152)
HSLhsl(260, 64%, 36%)
HSVhsv(260, 78%, 60%)
CMYKcmyk(52%, 78.3%, 0%, 40.4%)
CIE-LABlab(26.07, 46.19, -57.82)
CIE-LCHlch(26.07, 74.01, 308.62°)
OKLaboklab(38.36% 0.0631 -0.1661)
OKLCHoklch(38.36% 0.178 290.8)
XYZxyz(8.9574, 4.7708, 30.1486)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492198 #709821
analogous
#213598 #492198 #852198
triadic
#492198 #984921 #219849
tetradic
#492198 #982135 #709821 #219885
square
#492198 #982135 #709821 #219885
split-complementary
#492198 #988521 #359821
monochromatic
#190B33 #311666 #492198 #612CCA #8459DB

Accessibility & contrast

On white

10.75
#492198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#492198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492198
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492198#FFFFFF#000000##FFFFFF
##4921981.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #492198;
/* rgb */ color: rgb(73, 33, 152);
/* oklch */ color: oklch(38.4% 0.178 290.8);
Tailwind
colors: {
  custom: {
    50: '#8561b7',
    500: '#492198',
    950: '#000000',
  },
}
SCSS
$custom: #492198;
$custom-light: #8561b7;
$custom-dark: #000000;
JSON
{
  "hex": "#492198",
  "rgb": {
    "r": 73,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 260.168,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38356,
    "c": 0.1777,
    "h": 290.8
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#492198
secondary
#9CBF56
accent
#E740AF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #492198

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

Preview Lab → · Contrast checker → · Palette generator →

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