#492787#492787

#492787 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.151 H 294.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#492787
RGBrgb(73, 39, 135)
HSLhsl(261, 55%, 34%)
HSVhsv(261, 71%, 53%)
CMYKcmyk(45.9%, 71.1%, 0%, 47.1%)
CIE-LABlab(25.61, 38.33, -48.04)
CIE-LCHlch(25.61, 61.46, 308.59°)
OKLaboklab(37.56% 0.0617 -0.1375)
OKLCHoklch(37.56% 0.151 294.2)
XYZxyz(7.8452, 4.6166, 23.3947)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492787 #658727
analogous
#273587 #492787 #792787
triadic
#492787 #874927 #278749
tetradic
#492787 #872735 #658727 #278779
square
#492787 #872735 #658727 #278779
split-complementary
#492787 #877927 #358727
monochromatic
#160C28 #2F1958 #492787 #6335B6 #8359CF

Accessibility & contrast

On white

10.92
#492787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#492787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492787
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492787#FFFFFF#000000##FFFFFF
##4927871.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#373F54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #492787;
/* rgb */ color: rgb(73, 39, 135);
/* oklch */ color: oklch(37.6% 0.151 294.2);
Tailwind
colors: {
  custom: {
    50: '#8264ab',
    500: '#492787',
    950: '#000000',
  },
}
SCSS
$custom: #492787;
$custom-light: #8264ab;
$custom-dark: #000000;
JSON
{
  "hex": "#492787",
  "rgb": {
    "r": 73,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 261.25,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37559,
    "c": 0.15069,
    "h": 294.2
  },
  "luminance": 0.04617
}

Semantic roles & 50–950 ramp

primary
#492787
secondary
#93B456
accent
#DF49AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #492787

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

Preview Lab → · Contrast checker → · Palette generator →

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