#492178#492178

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

Color values

HEX#492178
RGBrgb(73, 33, 120)
HSLhsl(268, 57%, 30%)
HSVhsv(268, 73%, 47%)
CMYKcmyk(39.2%, 72.5%, 0%, 52.9%)
CIE-LABlab(23.20, 37.37, -42.49)
CIE-LCHlch(23.20, 56.59, 311.33°)
OKLaboklab(35.45% 0.0709 -0.1211)
OKLCHoklch(35.45% 0.14 300.3)
XYZxyz(6.6808, 3.8602, 18.1588)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492178 #507821
analogous
#212578 #492178 #742178
triadic
#492178 #784921 #217849
tetradic
#492178 #782125 #507821 #217874
square
#492178 #782125 #507821 #217874
split-complementary
#492178 #787421 #257821
monochromatic
#0F0718 #2C1448 #492178 #662EA8 #8447CC

Accessibility & contrast

On white

11.85
#492178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#492178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492178
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492178#FFFFFF#000000##FFFFFF
##4921781.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#003776
Tritanopia (blue-blind)
#3E364A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #492178;
/* rgb */ color: rgb(73, 33, 120);
/* oklch */ color: oklch(35.4% 0.140 300.3);
Tailwind
colors: {
  custom: {
    50: '#8060a0',
    500: '#492178',
    950: '#000000',
  },
}
SCSS
$custom: #492178;
$custom-light: #8060a0;
$custom-dark: #000000;
JSON
{
  "hex": "#492178",
  "rgb": {
    "r": 73,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 267.586,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.35449,
    "c": 0.14036,
    "h": 300.3
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#492178
secondary
#7EAB4A
accent
#E0489A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #492178

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

Preview Lab → · Contrast checker → · Palette generator →

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