#492877#492877

#492877 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.4% C 0.129 H 299.1°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#492877
RGBrgb(73, 40, 119)
HSLhsl(265, 50%, 31%)
HSVhsv(265, 66%, 47%)
CMYKcmyk(38.7%, 66.4%, 0%, 53.3%)
CIE-LABlab(24.53, 33.22, -39.71)
CIE-LCHlch(24.53, 51.77, 309.92°)
OKLaboklab(36.38% 0.0628 -0.113)
OKLCHoklch(36.38% 0.129 299.1)
XYZxyz(6.8354, 4.2659, 17.9125)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492877 #567728
analogous
#282E77 #492877 #702877
triadic
#492877 #774928 #287749
tetradic
#492877 #77282E #567728 #287770
square
#492877 #77282E #567728 #287770
split-complementary
#492877 #777028 #2E7728
monochromatic
#11091B #2D1949 #492877 #6537A5 #8354C5

Accessibility & contrast

On white

11.33
#492877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#492877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492877
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492877#FFFFFF#000000##FFFFFF
##4928771.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#023A75
Tritanopia (blue-blind)
#3F3A4B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #492877;
/* rgb */ color: rgb(73, 40, 119);
/* oklch */ color: oklch(36.4% 0.129 299.1);
Tailwind
colors: {
  custom: {
    50: '#80649f',
    500: '#492877',
    950: '#000000',
  },
}
SCSS
$custom: #492877;
$custom-light: #80649f;
$custom-dark: #000000;
JSON
{
  "hex": "#492877",
  "rgb": {
    "r": 73,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 265.063,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36378,
    "c": 0.12924,
    "h": 299.1
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#492877
secondary
#85A952
accent
#D94F9F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #492877

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

Preview Lab → · Contrast checker → · Palette generator →

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