#492271#492271

#492271 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.131 H 302.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#492271
RGBrgb(73, 34, 113)
HSLhsl(270, 54%, 29%)
HSVhsv(270, 70%, 44%)
CMYKcmyk(35.4%, 69.9%, 0%, 55.7%)
CIE-LABlab(22.84, 34.95, -38.61)
CIE-LCHlch(22.84, 52.07, 312.15°)
OKLaboklab(35.01% 0.0708 -0.1097)
OKLCHoklch(35.01% 0.131 302.8)
XYZxyz(6.2996, 3.7528, 16.0121)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492271 #4A7122
analogous
#222371 #492271 #712271
triadic
#492271 #714922 #227149
tetradic
#492271 #712223 #4A7122 #227171
square
#492271 #712223 #4A7122 #227171
split-complementary
#492271 #717122 #237122
monochromatic
#0F0718 #2B1442 #492271 #6730A0 #8646C7

Accessibility & contrast

On white

12.00
#492271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#492271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492271
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492271#FFFFFF#000000##FFFFFF
##4922711.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#02366F
Tritanopia (blue-blind)
#413446
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #492271;
/* rgb */ color: rgb(73, 34, 113);
/* oklch */ color: oklch(35.0% 0.131 302.8);
Tailwind
colors: {
  custom: {
    50: '#7f609a',
    500: '#492271',
    950: '#000000',
  },
}
SCSS
$custom: #492271;
$custom-light: #7f609a;
$custom-dark: #000000;
JSON
{
  "hex": "#492271",
  "rgb": {
    "r": 73,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 269.62,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3501,
    "c": 0.13056,
    "h": 302.8
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#492271
secondary
#78A44A
accent
#DD4B95
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #492271

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

Preview Lab → · Contrast checker → · Palette generator →

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