#492888#492888

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

Color values

HEX#492888
RGBrgb(73, 40, 136)
HSLhsl(261, 55%, 35%)
HSVhsv(261, 71%, 53%)
CMYKcmyk(46.3%, 70.6%, 0%, 46.7%)
CIE-LABlab(25.90, 38.07, -48.20)
CIE-LCHlch(25.90, 61.43, 308.30°)
OKLaboklab(37.79% 0.0605 -0.138)
OKLCHoklch(37.79% 0.151 293.7)
XYZxyz(7.9492, 4.7114, 23.7783)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492888 #678828
analogous
#283788 #492888 #792888
triadic
#492888 #884928 #288849
tetradic
#492888 #882837 #678828 #288879
square
#492888 #882837 #678828 #288879
split-complementary
#492888 #887928 #378828
monochromatic
#160C29 #301A59 #492888 #6236B7 #835BCF

Accessibility & contrast

On white

10.81
#492888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #492888
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492888#FFFFFF#000000##FFFFFF
##4928881.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#374055
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #492888;
/* rgb */ color: rgb(73, 40, 136);
/* oklch */ color: oklch(37.8% 0.151 293.7);
Tailwind
colors: {
  custom: {
    50: '#8265ab',
    500: '#492888',
    950: '#000000',
  },
}
SCSS
$custom: #492888;
$custom-light: #8265ab;
$custom-dark: #000000;
JSON
{
  "hex": "#492888",
  "rgb": {
    "r": 73,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 260.625,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37788,
    "c": 0.15065,
    "h": 293.7
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#492888
secondary
#94B458
accent
#DE4AAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #492888

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

Preview Lab → · Contrast checker → · Palette generator →

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