#472185#472185

#472185 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.156 H 294.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#472185
RGBrgb(71, 33, 133)
HSLhsl(263, 60%, 33%)
HSVhsv(263, 75%, 52%)
CMYKcmyk(46.6%, 75.2%, 0%, 47.8%)
CIE-LABlab(24.07, 40.56, -49.32)
CIE-LCHlch(24.07, 63.86, 309.43°)
OKLaboklab(36.35% 0.0651 -0.1413)
OKLCHoklch(36.35% 0.156 294.7)
XYZxyz(7.3749, 4.1206, 22.5925)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472185 #5F8521
analogous
#212D85 #472185 #792185
triadic
#472185 #854721 #218547
tetradic
#472185 #85212D #5F8521 #218579
square
#472185 #85212D #5F8521 #218579
split-complementary
#472185 #857921 #2D8521
monochromatic
#130923 #2D1554 #472185 #612DB6 #804DD3

Accessibility & contrast

On white

11.51
#472185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#472185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472185
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472185#FFFFFF#000000##FFFFFF
##4721851.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#353B51
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #472185;
/* rgb */ color: rgb(71, 33, 133);
/* oklch */ color: oklch(36.4% 0.156 294.7);
Tailwind
colors: {
  custom: {
    50: '#8160a9',
    500: '#472185',
    950: '#000000',
  },
}
SCSS
$custom: #472185;
$custom-light: #8160a9;
$custom-dark: #000000;
JSON
{
  "hex": "#472185",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 262.8,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36352,
    "c": 0.15556,
    "h": 294.7
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

primary
#472185
secondary
#8EB64C
accent
#E344A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472185

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

Preview Lab → · Contrast checker → · Palette generator →

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