#492987#492987

#492987 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.148 H 293.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#492987
RGBrgb(73, 41, 135)
HSLhsl(260, 53%, 35%)
HSVhsv(260, 70%, 53%)
CMYKcmyk(45.9%, 69.6%, 0%, 47.1%)
CIE-LABlab(26.01, 37.23, -47.39)
CIE-LCHlch(26.01, 60.26, 308.15°)
OKLaboklab(37.85% 0.0596 -0.1356)
OKLCHoklch(37.85% 0.148 293.7)
XYZxyz(7.9126, 4.7514, 23.4172)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492987 #678729
analogous
#293887 #492987 #782987
triadic
#492987 #874929 #298749
tetradic
#492987 #872938 #678729 #298778
square
#492987 #872938 #678729 #298778
split-complementary
#492987 #877829 #388729
monochromatic
#160C29 #301B58 #492987 #6237B6 #835DCE

Accessibility & contrast

On white

10.77
#492987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#492987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492987
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492987#FFFFFF#000000##FFFFFF
##4929871.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#374054
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #492987;
/* rgb */ color: rgb(73, 41, 135);
/* oklch */ color: oklch(37.8% 0.148 293.7);
Tailwind
colors: {
  custom: {
    50: '#8265ab',
    500: '#492987',
    950: '#000000',
  },
}
SCSS
$custom: #492987;
$custom-light: #8265ab;
$custom-dark: #000000;
JSON
{
  "hex": "#492987",
  "rgb": {
    "r": 73,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 260.426,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37846,
    "c": 0.14809,
    "h": 293.7
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#492987
secondary
#94B359
accent
#DD4BAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #492987

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

Preview Lab → · Contrast checker → · Palette generator →

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