#472183#472183

#472183 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.153 H 295.3°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#472183
RGBrgb(71, 33, 131)
HSLhsl(263, 60%, 32%)
HSVhsv(263, 75%, 51%)
CMYKcmyk(45.8%, 74.8%, 0%, 48.6%)
CIE-LABlab(23.89, 40.00, -48.36)
CIE-LCHlch(23.89, 62.76, 309.60°)
OKLaboklab(36.17% 0.0656 -0.1385)
OKLCHoklch(36.17% 0.153 295.3)
XYZxyz(7.2380, 4.0658, 21.8718)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472183 #5D8321
analogous
#212C83 #472183 #782183
triadic
#472183 #834721 #218347
tetradic
#472183 #83212C #5D8321 #218378
square
#472183 #83212C #5D8321 #218378
split-complementary
#472183 #837821 #2C8321
monochromatic
#120821 #2D1552 #472183 #612DB4 #804CD2

Accessibility & contrast

On white

11.58
#472183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#472183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472183
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472183#FFFFFF#000000##FFFFFF
##4721831.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#363A50
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #472183;
/* rgb */ color: rgb(71, 33, 131);
/* oklch */ color: oklch(36.2% 0.153 295.3);
Tailwind
colors: {
  custom: {
    50: '#8060a8',
    500: '#472183',
    950: '#000000',
  },
}
SCSS
$custom: #472183;
$custom-light: #8060a8;
$custom-dark: #000000;
JSON
{
  "hex": "#472183",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 263.265,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3617,
    "c": 0.15319,
    "h": 295.3
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#472183
secondary
#8CB54B
accent
#E345A6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472183

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

Preview Lab → · Contrast checker → · Palette generator →

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