#492874#492874

#492874 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.1% C 0.125 H 300.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#492874
RGBrgb(73, 40, 116)
HSLhsl(266, 49%, 31%)
HSVhsv(266, 66%, 45%)
CMYKcmyk(37.1%, 65.5%, 0%, 54.5%)
CIE-LABlab(24.31, 32.38, -38.16)
CIE-LCHlch(24.31, 50.04, 310.32°)
OKLaboklab(36.14% 0.063 -0.1084)
OKLCHoklch(36.14% 0.125 300.2)
XYZxyz(6.6581, 4.1950, 16.9785)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492874 #537428
analogous
#282D74 #492874 #6F2874
triadic
#492874 #744928 #287449
tetradic
#492874 #74282D #537428 #28746F
square
#492874 #74282D #537428 #28746F
split-complementary
#492874 #746F28 #2D7428
monochromatic
#100919 #2C1846 #492874 #6638A2 #8453C4

Accessibility & contrast

On white

11.42
#492874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#492874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492874
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492874#FFFFFF#000000##FFFFFF
##4928741.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#0A3972
Tritanopia (blue-blind)
#40394A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #492874;
/* rgb */ color: rgb(73, 40, 116);
/* oklch */ color: oklch(36.1% 0.125 300.2);
Tailwind
colors: {
  custom: {
    50: '#7f649d',
    500: '#492874',
    950: '#000000',
  },
}
SCSS
$custom: #492874;
$custom-light: #7f649d;
$custom-dark: #000000;
JSON
{
  "hex": "#492874",
  "rgb": {
    "r": 73,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 266.053,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36142,
    "c": 0.12539,
    "h": 300.2
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#492874
secondary
#81A652
accent
#D8509D
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #492874

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

Preview Lab → · Contrast checker → · Palette generator →

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