#472088#472088

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

Color values

HEX#472088
RGBrgb(71, 32, 136)
HSLhsl(263, 62%, 33%)
HSVhsv(263, 76%, 53%)
CMYKcmyk(47.8%, 76.5%, 0%, 46.7%)
CIE-LABlab(24.16, 41.90, -51.05)
CIE-LCHlch(24.16, 66.04, 309.38°)
OKLaboklab(36.5% 0.0653 -0.1463)
OKLCHoklch(36.5% 0.16 294)
XYZxyz(7.5578, 4.1500, 23.6906)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472088 #618820
analogous
#202D88 #472088 #7B2088
triadic
#472088 #884720 #208847
tetradic
#472088 #88202D #618820 #20887B
square
#472088 #88202D #618820 #20887B
split-complementary
#472088 #887B20 #2D8820
monochromatic
#130925 #2D1456 #472088 #612CBA #804DD5

Accessibility & contrast

On white

11.48
#472088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#472088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472088
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472088#FFFFFF#000000##FFFFFF
##4720881.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#343C52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #472088;
/* rgb */ color: rgb(71, 32, 136);
/* oklch */ color: oklch(36.5% 0.160 294.0);
Tailwind
colors: {
  custom: {
    50: '#8160ac',
    500: '#472088',
    950: '#000000',
  },
}
SCSS
$custom: #472088;
$custom-light: #8160ac;
$custom-dark: #000000;
JSON
{
  "hex": "#472088",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 262.5,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36502,
    "c": 0.16023,
    "h": 294
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#472088
secondary
#8FB84C
accent
#E543A8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472088

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

Preview Lab → · Contrast checker → · Palette generator →

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