#492157#492157

#492157 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.9% C 0.101 H 316.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#492157
RGBrgb(73, 33, 87)
HSLhsl(284, 45%, 24%)
HSVhsv(284, 62%, 34%)
CMYKcmyk(16.1%, 62.1%, 0%, 65.9%)
CIE-LABlab(20.80, 28.88, -24.84)
CIE-LCHlch(20.80, 38.09, 319.29°)
OKLaboklab(32.95% 0.0731 -0.0694)
OKLCHoklch(32.95% 0.101 316.5)
XYZxyz(5.0116, 3.1925, 9.3672)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492157 #2F5721
analogous
#2E2157 #492157 #57214A
triadic
#492157 #574921 #215749
tetradic
#492157 #572E21 #2F5721 #214A57
square
#492157 #572E21 #2F5721 #214A57
split-complementary
#492157 #4A5721 #21572E
monochromatic
#130816 #24102B #492157 #6E3283 #9343B0

Accessibility & contrast

On white

12.82
#492157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#492157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492157
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492157#FFFFFF#000000##FFFFFF
##4921571.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133059
Deuteranopia (green-blind)
#223356
Tritanopia (blue-blind)
#482A38
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #492157;
/* rgb */ color: rgb(73, 33, 87);
/* oklch */ color: oklch(32.9% 0.101 316.5);
Tailwind
colors: {
  custom: {
    50: '#7d5f87',
    500: '#492157',
    950: '#000000',
  },
}
SCSS
$custom: #492157;
$custom-light: #7d5f87;
$custom-dark: #000000;
JSON
{
  "hex": "#492157",
  "rgb": {
    "r": 73,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 284.444,
    "s": 45,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32948,
    "c": 0.1008,
    "h": 316.5
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#492157
secondary
#5A8B49
accent
#D55375
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #492157

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

Preview Lab → · Contrast checker → · Palette generator →

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