#492887#492887

#492887 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.149 H 294.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#492887
RGBrgb(73, 40, 135)
HSLhsl(261, 54%, 34%)
HSVhsv(261, 70%, 53%)
CMYKcmyk(45.9%, 70.4%, 0%, 47.1%)
CIE-LABlab(25.81, 37.78, -47.72)
CIE-LCHlch(25.81, 60.86, 308.37°)
OKLaboklab(37.7% 0.0607 -0.1365)
OKLCHoklch(37.7% 0.149 294)
XYZxyz(7.8784, 4.6831, 23.4058)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492887 #668728
analogous
#283787 #492887 #792887
triadic
#492887 #874928 #288749
tetradic
#492887 #872837 #668728 #288779
square
#492887 #872837 #668728 #288779
split-complementary
#492887 #877928 #378728
monochromatic
#160C29 #2F1A58 #492887 #6336B6 #835BCE

Accessibility & contrast

On white

10.84
#492887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#492887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492887
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492887#FFFFFF#000000##FFFFFF
##4928871.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.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: #492887;
/* rgb */ color: rgb(73, 40, 135);
/* oklch */ color: oklch(37.7% 0.149 294.0);
Tailwind
colors: {
  custom: {
    50: '#8264ab',
    500: '#492887',
    950: '#000000',
  },
}
SCSS
$custom: #492887;
$custom-light: #8264ab;
$custom-dark: #000000;
JSON
{
  "hex": "#492887",
  "rgb": {
    "r": 73,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 260.842,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37701,
    "c": 0.1494,
    "h": 294
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#492887
secondary
#94B457
accent
#DE4AAA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #492887

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

Preview Lab → · Contrast checker → · Palette generator →

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