#472099#472099

#472099 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.180 H 289.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#472099
RGBrgb(71, 32, 153)
HSLhsl(259, 65%, 36%)
HSVhsv(259, 79%, 60%)
CMYKcmyk(53.6%, 79.1%, 0%, 40%)
CIE-LABlab(25.78, 46.65, -58.92)
CIE-LCHlch(25.78, 75.15, 308.37°)
OKLaboklab(38.13% 0.0604 -0.1694)
OKLCHoklch(38.13% 0.18 289.6)
XYZxyz(8.8631, 4.6721, 30.5656)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472099 #729920
analogous
#203699 #472099 #842099
triadic
#472099 #994720 #209947
tetradic
#472099 #992036 #729920 #209984
square
#472099 #992036 #729920 #209984
split-complementary
#472099 #998420 #369920
monochromatic
#180B34 #301566 #472099 #5E2BCC #8257DC

Accessibility & contrast

On white

10.85
#472099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#472099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472099
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472099#FFFFFF#000000##FFFFFF
##4720991.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#28435C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472099;
/* rgb */ color: rgb(71, 32, 153);
/* oklch */ color: oklch(38.1% 0.180 289.6);
Tailwind
colors: {
  custom: {
    50: '#8461b8',
    500: '#472099',
    950: '#000000',
  },
}
SCSS
$custom: #472099;
$custom-light: #8461b8;
$custom-dark: #000000;
JSON
{
  "hex": "#472099",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 259.339,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38129,
    "c": 0.17985,
    "h": 289.6
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#472099
secondary
#9DC055
accent
#E83FB2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #472099

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

Preview Lab → · Contrast checker → · Palette generator →

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