#492279#492279

#492279 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.140 H 299.8°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#492279
RGBrgb(73, 34, 121)
HSLhsl(267, 56%, 30%)
HSVhsv(267, 72%, 47%)
CMYKcmyk(39.7%, 71.9%, 0%, 52.5%)
CIE-LABlab(23.48, 37.11, -42.69)
CIE-LCHlch(23.48, 56.57, 311.00°)
OKLaboklab(35.67% 0.0696 -0.1217)
OKLCHoklch(35.67% 0.14 299.8)
XYZxyz(6.7700, 3.9409, 18.4895)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492279 #527922
analogous
#222679 #492279 #752279
triadic
#492279 #794922 #227949
tetradic
#492279 #792226 #527922 #227975
square
#492279 #792226 #527922 #227975
split-complementary
#492279 #797522 #267922
monochromatic
#0F0719 #2C1549 #492279 #662FA9 #8449CC

Accessibility & contrast

On white

11.74
#492279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#492279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492279
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492279#FFFFFF#000000##FFFFFF
##4922791.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#3E374B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #492279;
/* rgb */ color: rgb(73, 34, 121);
/* oklch */ color: oklch(35.7% 0.140 299.8);
Tailwind
colors: {
  custom: {
    50: '#8060a0',
    500: '#492279',
    950: '#000000',
  },
}
SCSS
$custom: #492279;
$custom-light: #8060a0;
$custom-dark: #000000;
JSON
{
  "hex": "#492279",
  "rgb": {
    "r": 73,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 266.897,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35668,
    "c": 0.14022,
    "h": 299.8
  },
  "luminance": 0.03941
}

Semantic roles & 50–950 ramp

primary
#492279
secondary
#80AC4B
accent
#DF489C
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #492279

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

Preview Lab → · Contrast checker → · Palette generator →

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