#492078#492078

#492078 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.142 H 300.5°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#492078
RGBrgb(73, 32, 120)
HSLhsl(268, 58%, 30%)
HSVhsv(268, 73%, 47%)
CMYKcmyk(39.2%, 73.3%, 0%, 52.9%)
CIE-LABlab(23.02, 37.89, -42.80)
CIE-LCHlch(23.02, 57.16, 311.52°)
OKLaboklab(35.32% 0.072 -0.122)
OKLCHoklch(35.32% 0.142 300.5)
XYZxyz(6.6535, 3.8055, 18.1497)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492078 #4F7820
analogous
#202378 #492078 #752078
triadic
#492078 #784920 #207849
tetradic
#492078 #782023 #4F7820 #207875
square
#492078 #782023 #4F7820 #207875
split-complementary
#492078 #787520 #237820
monochromatic
#0F0618 #2C1348 #492078 #662DA8 #8545CD

Accessibility & contrast

On white

11.92
#492078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#492078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492078
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492078#FFFFFF#000000##FFFFFF
##4920781.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #492078;
/* rgb */ color: rgb(73, 32, 120);
/* oklch */ color: oklch(35.3% 0.142 300.5);
Tailwind
colors: {
  custom: {
    50: '#805fa0',
    500: '#492078',
    950: '#000000',
  },
}
SCSS
$custom: #492078;
$custom-light: #805fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#492078",
  "rgb": {
    "r": 73,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 267.955,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35317,
    "c": 0.14168,
    "h": 300.5
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#492078
secondary
#7DAB48
accent
#E14799
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #492078

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

Preview Lab → · Contrast checker → · Palette generator →

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