#472492#472492

#472492 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.168 H 290.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#472492
RGBrgb(71, 36, 146)
HSLhsl(259, 60%, 36%)
HSVhsv(259, 75%, 57%)
CMYKcmyk(51.4%, 75.3%, 0%, 42.7%)
CIE-LABlab(25.79, 42.72, -54.59)
CIE-LCHlch(25.79, 69.32, 308.04°)
OKLaboklab(37.93% 0.0591 -0.1568)
OKLCHoklch(37.93% 0.168 290.7)
XYZxyz(8.4162, 4.6763, 27.6477)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472492 #6F9224
analogous
#243892 #472492 #7E2492
triadic
#472492 #924724 #249247
tetradic
#472492 #922438 #6F9224 #24927E
square
#472492 #922438 #6F9224 #24927E
split-complementary
#472492 #927E24 #389224
monochromatic
#170C30 #2F1861 #472492 #5F30C3 #825AD6

Accessibility & contrast

On white

10.85
#472492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472492
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472492#FFFFFF#000000##FFFFFF
##4724921.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#2D4259
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472492;
/* rgb */ color: rgb(71, 36, 146);
/* oklch */ color: oklch(37.9% 0.168 290.7);
Tailwind
colors: {
  custom: {
    50: '#8262b3',
    500: '#472492',
    950: '#000000',
  },
}
SCSS
$custom: #472492;
$custom-light: #8262b3;
$custom-dark: #000000;
JSON
{
  "hex": "#472492",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 259.091,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37934,
    "c": 0.16755,
    "h": 290.7
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

primary
#472492
secondary
#9BBB57
accent
#E444B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #472492

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

Preview Lab → · Contrast checker → · Palette generator →

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