#472289#472289

#472289 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.159 H 293.4°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#472289
RGBrgb(71, 34, 137)
HSLhsl(262, 60%, 34%)
HSVhsv(262, 75%, 54%)
CMYKcmyk(48.2%, 75.2%, 0%, 46.3%)
CIE-LABlab(24.61, 41.18, -50.94)
CIE-LCHlch(24.61, 65.51, 308.95°)
OKLaboklab(36.84% 0.0632 -0.1461)
OKLCHoklch(36.84% 0.159 293.4)
XYZxyz(7.6847, 4.2895, 24.0851)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472289 #648922
analogous
#223189 #472289 #7A2289
triadic
#472289 #894722 #228947
tetradic
#472289 #892231 #648922 #22897A
square
#472289 #892231 #648922 #22897A
split-complementary
#472289 #897A22 #318922
monochromatic
#140A27 #2E1658 #472289 #602EBA #8051D4

Accessibility & contrast

On white

11.30
#472289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#472289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472289
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472289#FFFFFF#000000##FFFFFF
##4722891.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#333D53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #472289;
/* rgb */ color: rgb(71, 34, 137);
/* oklch */ color: oklch(36.8% 0.159 293.4);
Tailwind
colors: {
  custom: {
    50: '#8161ac',
    500: '#472289',
    950: '#000000',
  },
}
SCSS
$custom: #472289;
$custom-light: #8161ac;
$custom-dark: #000000;
JSON
{
  "hex": "#472289",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 261.553,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36844,
    "c": 0.15913,
    "h": 293.4
  },
  "luminance": 0.0429
}

Semantic roles & 50–950 ramp

primary
#472289
secondary
#92B84F
accent
#E344AA
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472289

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

Preview Lab → · Contrast checker → · Palette generator →

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