#492797#492797

#492797 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.170 H 290.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#492797
RGBrgb(73, 39, 151)
HSLhsl(258, 59%, 37%)
HSVhsv(258, 74%, 59%)
CMYKcmyk(51.7%, 74.2%, 0%, 40.8%)
CIE-LABlab(27.02, 42.94, -55.65)
CIE-LCHlch(27.02, 70.29, 307.66°)
OKLaboklab(39% 0.0584 -0.1598)
OKLCHoklch(39% 0.17 290.1)
XYZxyz(9.0575, 5.1015, 29.7796)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492797 #759727
analogous
#273D97 #492797 #812797
triadic
#492797 #974927 #279749
tetradic
#492797 #97273D #759727 #279781
square
#492797 #97273D #759727 #279781
split-complementary
#492797 #978127 #3D9727
monochromatic
#1A0E36 #311A66 #492797 #6134C8 #8562D6

Accessibility & contrast

On white

10.39
#492797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#492797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492797
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492797#FFFFFF#000000##FFFFFF
##4927971.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#2D455D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #492797;
/* rgb */ color: rgb(73, 39, 151);
/* oklch */ color: oklch(39.0% 0.170 290.1);
Tailwind
colors: {
  custom: {
    50: '#8465b7',
    500: '#492797',
    950: '#000000',
  },
}
SCSS
$custom: #492797;
$custom-light: #8465b7;
$custom-dark: #000000;
JSON
{
  "hex": "#492797",
  "rgb": {
    "r": 73,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 258.214,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38996,
    "c": 0.17013,
    "h": 290.1
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#492797
secondary
#9FBC5E
accent
#E246B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #492797

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

Preview Lab → · Contrast checker → · Palette generator →

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