#472285#472285

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

Color values

HEX#472285
RGBrgb(71, 34, 133)
HSLhsl(262, 59%, 33%)
HSVhsv(262, 74%, 52%)
CMYKcmyk(46.6%, 74.4%, 0%, 47.8%)
CIE-LABlab(24.25, 40.05, -49.03)
CIE-LCHlch(24.25, 63.30, 309.24°)
OKLaboklab(36.48% 0.0641 -0.1404)
OKLCHoklch(36.48% 0.154 294.5)
XYZxyz(7.4030, 4.1769, 22.6019)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472285 #608522
analogous
#222F85 #472285 #782285
triadic
#472285 #854722 #228547
tetradic
#472285 #85222F #608522 #228578
square
#472285 #85222F #608522 #228578
split-complementary
#472285 #857822 #2F8522
monochromatic
#130924 #2D1654 #472285 #612EB6 #804FD2

Accessibility & contrast

On white

11.44
#472285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#472285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472285
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472285#FFFFFF#000000##FFFFFF
##4722851.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#353C51
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #472285;
/* rgb */ color: rgb(71, 34, 133);
/* oklch */ color: oklch(36.5% 0.154 294.5);
Tailwind
colors: {
  custom: {
    50: '#8161a9',
    500: '#472285',
    950: '#000000',
  },
}
SCSS
$custom: #472285;
$custom-light: #8161a9;
$custom-dark: #000000;
JSON
{
  "hex": "#472285",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 262.424,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3648,
    "c": 0.15437,
    "h": 294.5
  },
  "luminance": 0.04177
}

Semantic roles & 50–950 ramp

primary
#472285
secondary
#8FB64D
accent
#E245A8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472285

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

Preview Lab → · Contrast checker → · Palette generator →

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