#492799#492799

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

Color values

HEX#492799
RGBrgb(73, 39, 153)
HSLhsl(258, 59%, 38%)
HSVhsv(258, 75%, 60%)
CMYKcmyk(52.3%, 74.5%, 0%, 40%)
CIE-LABlab(27.21, 43.52, -56.57)
CIE-LCHlch(27.21, 71.37, 307.57°)
OKLaboklab(39.18% 0.0579 -0.1625)
OKLCHoklch(39.18% 0.173 289.6)
XYZxyz(9.2213, 5.1670, 30.6423)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492799 #779927
analogous
#273E99 #492799 #822799
triadic
#492799 #994927 #279949
tetradic
#492799 #99273E #779927 #279982
square
#492799 #99273E #779927 #279982
split-complementary
#492799 #998227 #3E9927
monochromatic
#1A0E37 #321B68 #492799 #6033CA #8663D7

Accessibility & contrast

On white

10.33
#492799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#492799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492799
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492799#FFFFFF#000000##FFFFFF
##4927991.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#2C465E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #492799;
/* rgb */ color: rgb(73, 39, 153);
/* oklch */ color: oklch(39.2% 0.173 289.6);
Tailwind
colors: {
  custom: {
    50: '#8465b8',
    500: '#492799',
    950: '#000000',
  },
}
SCSS
$custom: #492799;
$custom-light: #8465b8;
$custom-dark: #000000;
JSON
{
  "hex": "#492799",
  "rgb": {
    "r": 73,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 257.895,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39182,
    "c": 0.17252,
    "h": 289.6
  },
  "luminance": 0.05167
}

Semantic roles & 50–950 ramp

primary
#492799
secondary
#A1BD5F
accent
#E345B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #492799

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

Preview Lab → · Contrast checker → · Palette generator →

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