#492256#492256

#492256 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.0% C 0.098 H 317.0°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#492256
RGBrgb(73, 34, 86)
HSLhsl(285, 43%, 24%)
HSVhsv(285, 60%, 34%)
CMYKcmyk(15.1%, 60.5%, 0%, 66.3%)
CIE-LABlab(20.95, 28.06, -23.93)
CIE-LCHlch(20.95, 36.88, 319.54°)
OKLaboklab(33.04% 0.0715 -0.0667)
OKLCHoklch(33.04% 0.098 317)
XYZxyz(4.9992, 3.2326, 9.1629)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492256 #2F5622
analogous
#2F2256 #492256 #562249
triadic
#492256 #564922 #225649
tetradic
#492256 #562F22 #2F5622 #224956
square
#492256 #562F22 #2F5622 #224956
split-complementary
#492256 #495622 #22562F
monochromatic
#130916 #24112A #492256 #6E3382 #9345AE

Accessibility & contrast

On white

12.76
#492256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#492256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492256
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492256#FFFFFF#000000##FFFFFF
##4922561.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163058
Deuteranopia (green-blind)
#233455
Tritanopia (blue-blind)
#492A38
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #492256;
/* rgb */ color: rgb(73, 34, 86);
/* oklch */ color: oklch(33.0% 0.098 317.0);
Tailwind
colors: {
  custom: {
    50: '#7d5f86',
    500: '#492256',
    950: '#000000',
  },
}
SCSS
$custom: #492256;
$custom-light: #7d5f86;
$custom-dark: #000000;
JSON
{
  "hex": "#492256",
  "rgb": {
    "r": 73,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 285,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3304,
    "c": 0.09782,
    "h": 317
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#492256
secondary
#5A8A4A
accent
#D35574
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #492256

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

Preview Lab → · Contrast checker → · Palette generator →

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