#472287#472287

#472287 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.157 H 294.0°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#472287
RGBrgb(71, 34, 135)
HSLhsl(262, 60%, 33%)
HSVhsv(262, 75%, 53%)
CMYKcmyk(47.4%, 74.8%, 0%, 47.1%)
CIE-LABlab(24.43, 40.61, -49.99)
CIE-LCHlch(24.43, 64.41, 309.09°)
OKLaboklab(36.66% 0.0637 -0.1432)
OKLCHoklch(36.66% 0.157 294)
XYZxyz(7.5425, 4.2327, 23.3366)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472287 #628722
analogous
#223087 #472287 #792287
triadic
#472287 #874722 #228747
tetradic
#472287 #872230 #628722 #228779
square
#472287 #872230 #628722 #228779
split-complementary
#472287 #877922 #308722
monochromatic
#140925 #2D1656 #472287 #612EB8 #8050D3

Accessibility & contrast

On white

11.37
#472287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#472287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472287
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472287#FFFFFF#000000##FFFFFF
##4722871.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#343C52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #472287;
/* rgb */ color: rgb(71, 34, 135);
/* oklch */ color: oklch(36.7% 0.157 294.0);
Tailwind
colors: {
  custom: {
    50: '#8161ab',
    500: '#472287',
    950: '#000000',
  },
}
SCSS
$custom: #472287;
$custom-light: #8161ab;
$custom-dark: #000000;
JSON
{
  "hex": "#472287",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 261.98,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36661,
    "c": 0.15675,
    "h": 294
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#472287
secondary
#90B74E
accent
#E345A9
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472287

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

Preview Lab → · Contrast checker → · Palette generator →

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