#472487#472487

#472487 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.154 H 293.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#472487
RGBrgb(71, 36, 135)
HSLhsl(261, 58%, 34%)
HSVhsv(261, 73%, 53%)
CMYKcmyk(47.4%, 73.3%, 0%, 47.1%)
CIE-LABlab(24.80, 39.57, -49.38)
CIE-LCHlch(24.80, 63.28, 308.70°)
OKLaboklab(36.93% 0.0617 -0.1415)
OKLCHoklch(36.93% 0.154 293.6)
XYZxyz(7.6014, 4.3504, 23.3562)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472487 #648724
analogous
#243287 #472487 #782487
triadic
#472487 #874724 #248747
tetradic
#472487 #872432 #648724 #248778
square
#472487 #872432 #648724 #248778
split-complementary
#472487 #877824 #328724
monochromatic
#140A26 #2E1757 #472487 #6031B7 #8054D1

Accessibility & contrast

On white

11.23
#472487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#472487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472487
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472487#FFFFFF#000000##FFFFFF
##4724871.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#343D53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #472487;
/* rgb */ color: rgb(71, 36, 135);
/* oklch */ color: oklch(36.9% 0.154 293.6);
Tailwind
colors: {
  custom: {
    50: '#8162ab',
    500: '#472487',
    950: '#000000',
  },
}
SCSS
$custom: #472487;
$custom-light: #8162ab;
$custom-dark: #000000;
JSON
{
  "hex": "#472487",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 261.212,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36925,
    "c": 0.15435,
    "h": 293.6
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#472487
secondary
#92B551
accent
#E147AB
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472487

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

Preview Lab → · Contrast checker → · Palette generator →

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