#471885#471885

#471885 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.165 H 296.2°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#471885
RGBrgb(71, 24, 133)
HSLhsl(266, 69%, 31%)
HSVhsv(266, 82%, 52%)
CMYKcmyk(46.6%, 82%, 0%, 47.8%)
CIE-LABlab(22.61, 44.74, -51.72)
CIE-LCHlch(22.61, 68.39, 310.87°)
OKLaboklab(35.33% 0.0729 -0.1482)
OKLCHoklch(35.33% 0.165 296.2)
XYZxyz(7.1577, 3.6861, 22.5201)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471885 #568518
analogous
#181F85 #471885 #7D1885
triadic
#471885 #854718 #188547
tetradic
#471885 #85181F #568518 #18857D
square
#471885 #85181F #568518 #18857D
split-complementary
#471885 #857D18 #1F8518
monochromatic
#10051D #2B0F51 #471885 #6321B9 #813CDC

Accessibility & contrast

On white

12.09
#471885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#471885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471885
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471885#FFFFFF#000000##FFFFFF
##4718851.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#36374F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471885;
/* rgb */ color: rgb(71, 24, 133);
/* oklch */ color: oklch(35.3% 0.165 296.2);
Tailwind
colors: {
  custom: {
    50: '#815ca9',
    500: '#471885',
    950: '#000000',
  },
}
SCSS
$custom: #471885;
$custom-light: #815ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#471885",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 265.872,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35328,
    "c": 0.16519,
    "h": 296.2
  },
  "luminance": 0.03686
}

Semantic roles & 50–950 ramp

primary
#471885
secondary
#85B940
accent
#EC3CA0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471885

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

Preview Lab → · Contrast checker → · Palette generator →

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