#492898#492898

#492898 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.170 H 289.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#492898
RGBrgb(73, 40, 152)
HSLhsl(258, 58%, 38%)
HSVhsv(258, 74%, 60%)
CMYKcmyk(52%, 73.7%, 0%, 40.4%)
CIE-LABlab(27.30, 42.71, -55.81)
CIE-LCHlch(27.30, 70.27, 307.43°)
OKLaboklab(39.22% 0.0572 -0.1603)
OKLCHoklch(39.22% 0.17 289.6)
XYZxyz(9.1723, 5.2006, 30.2202)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492898 #779828
analogous
#283F98 #492898 #812898
triadic
#492898 #984928 #289849
tetradic
#492898 #98283F #779828 #289881
square
#492898 #98283F #779828 #289881
split-complementary
#492898 #988128 #3F9828
monochromatic
#1A0F37 #321B68 #492898 #6035C8 #8664D6

Accessibility & contrast

On white

10.29
#492898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#492898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492898
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492898#FFFFFF#000000##FFFFFF
##4928981.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#2D465D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #492898;
/* rgb */ color: rgb(73, 40, 152);
/* oklch */ color: oklch(39.2% 0.170 289.6);
Tailwind
colors: {
  custom: {
    50: '#8465b7',
    500: '#492898',
    950: '#000000',
  },
}
SCSS
$custom: #492898;
$custom-light: #8465b7;
$custom-dark: #000000;
JSON
{
  "hex": "#492898",
  "rgb": {
    "r": 73,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 257.679,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3922,
    "c": 0.17019,
    "h": 289.6
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#492898
secondary
#A1BC60
accent
#E246B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #492898

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

Preview Lab → · Contrast checker → · Palette generator →

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