#471D70#471D70

#471D70 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.136 H 302.9°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#471D70
RGBrgb(71, 29, 112)
HSLhsl(270, 59%, 28%)
HSVhsv(270, 74%, 44%)
CMYKcmyk(36.6%, 74.1%, 0%, 56.1%)
CIE-LABlab(21.54, 36.87, -40.08)
CIE-LCHlch(21.54, 54.46, 312.61°)
OKLaboklab(33.99% 0.0737 -0.1141)
OKLCHoklch(33.99% 0.136 302.9)
XYZxyz(5.9618, 3.3882, 15.6660)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D70 #46701D
analogous
#1D1D70 #471D70 #701D70
triadic
#471D70 #70471D #1D7047
tetradic
#471D70 #701D1D #46701D #1D7070
square
#471D70 #701D1D #46701D #1D7070
split-complementary
#471D70 #70701D #1D701D
monochromatic
#0F0618 #28103F #471D70 #662AA1 #853BCC

Accessibility & contrast

On white

12.52
#471D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#471D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D70
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D70#FFFFFF#000000##FFFFFF
##471D701.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#3F3144
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471d70;
/* rgb */ color: rgb(71, 29, 112);
/* oklch */ color: oklch(34.0% 0.136 302.9);
Tailwind
colors: {
  custom: {
    50: '#7e5d9a',
    500: '#471d70',
    950: '#000000',
  },
}
SCSS
$custom: #471d70;
$custom-light: #7e5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#471d70",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 270.361,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33995,
    "c": 0.13585,
    "h": 302.9
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#471D70
secondary
#74A444
accent
#E24693
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471D70

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

Preview Lab → · Contrast checker → · Palette generator →

#471D70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva