#492791#492791

#492791 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.163 H 291.5°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#492791
RGBrgb(73, 39, 145)
HSLhsl(259, 58%, 36%)
HSVhsv(259, 73%, 57%)
CMYKcmyk(49.7%, 73.1%, 0%, 43.1%)
CIE-LABlab(26.48, 41.21, -52.84)
CIE-LCHlch(26.48, 67.01, 307.95°)
OKLaboklab(38.45% 0.0597 -0.1516)
OKLCHoklch(38.45% 0.163 291.5)
XYZxyz(8.5826, 4.9115, 27.2784)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492791 #6F9127
analogous
#273A91 #492791 #7E2791
triadic
#492791 #914927 #279149
tetradic
#492791 #91273A #6F9127 #27917E
square
#492791 #91273A #6F9127 #27917E
split-complementary
#492791 #917E27 #3A9127
monochromatic
#180D31 #311A61 #492791 #6134C1 #845FD4

Accessibility & contrast

On white

10.59
#492791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#492791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492791
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492791#FFFFFF#000000##FFFFFF
##4927911.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#324359
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #492791;
/* rgb */ color: rgb(73, 39, 145);
/* oklch */ color: oklch(38.4% 0.163 291.5);
Tailwind
colors: {
  custom: {
    50: '#8364b2',
    500: '#492791',
    950: '#000000',
  },
}
SCSS
$custom: #492791;
$custom-light: #8364b2;
$custom-dark: #000000;
JSON
{
  "hex": "#492791",
  "rgb": {
    "r": 73,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 259.245,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38446,
    "c": 0.16291,
    "h": 291.5
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#492791
secondary
#9BB95B
accent
#E147AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #492791

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

Preview Lab → · Contrast checker → · Palette generator →

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