#472193#472193

#472193 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.172 H 290.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#472193
RGBrgb(71, 33, 147)
HSLhsl(260, 63%, 35%)
HSVhsv(260, 78%, 58%)
CMYKcmyk(51.7%, 77.6%, 0%, 42.4%)
CIE-LABlab(25.36, 44.49, -55.91)
CIE-LCHlch(25.36, 71.46, 308.51°)
OKLaboklab(37.66% 0.0614 -0.1606)
OKLCHoklch(37.66% 0.172 290.9)
XYZxyz(8.4073, 4.5335, 28.0302)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472193 #6D9321
analogous
#213493 #472193 #802193
triadic
#472193 #934721 #219347
tetradic
#472193 #932134 #6D9321 #219380
square
#472193 #932134 #6D9321 #219380
split-complementary
#472193 #938021 #349321
monochromatic
#170B2F #2F1661 #472193 #5F2CC5 #8155D9

Accessibility & contrast

On white

11.01
#472193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#472193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472193
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472193#FFFFFF#000000##FFFFFF
##4721931.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#2D4159
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #472193;
/* rgb */ color: rgb(71, 33, 147);
/* oklch */ color: oklch(37.7% 0.172 290.9);
Tailwind
colors: {
  custom: {
    50: '#8361b4',
    500: '#472193',
    950: '#000000',
  },
}
SCSS
$custom: #472193;
$custom-light: #8361b4;
$custom-dark: #000000;
JSON
{
  "hex": "#472193",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 260,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37661,
    "c": 0.17195,
    "h": 290.9
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#472193
secondary
#99BD53
accent
#E641AF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #472193

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

Preview Lab → · Contrast checker → · Palette generator →

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