#471C7D#471C7D

#471C7D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.152 H 298.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#471C7D
RGBrgb(71, 28, 125)
HSLhsl(267, 63%, 30%)
HSVhsv(267, 78%, 49%)
CMYKcmyk(43.2%, 77.6%, 0%, 51%)
CIE-LABlab(22.48, 40.83, -46.86)
CIE-LCHlch(22.48, 62.15, 311.06°)
OKLaboklab(35.01% 0.0718 -0.134)
OKLCHoklch(35.01% 0.152 298.2)
XYZxyz(6.7145, 3.6507, 19.7489)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C7D #527D1C
analogous
#1C217D #471C7D #781C7D
triadic
#471C7D #7D471C #1C7D47
tetradic
#471C7D #7D1C21 #527D1C #1C7D78
square
#471C7D #7D1C21 #527D1C #1C7D78
split-complementary
#471C7D #7D781C #217D1C
monochromatic
#0E0619 #2B114B #471C7D #6327AF #813FD4

Accessibility & contrast

On white

12.14
#471C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#471C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471C7D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C7D#FFFFFF#000000##FFFFFF
##471C7D1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#39354B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471c7d;
/* rgb */ color: rgb(71, 28, 125);
/* oklch */ color: oklch(35.0% 0.152 298.2);
Tailwind
colors: {
  custom: {
    50: '#805da3',
    500: '#471c7d',
    950: '#000000',
  },
}
SCSS
$custom: #471c7d;
$custom-light: #805da3;
$custom-dark: #000000;
JSON
{
  "hex": "#471c7d",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 266.598,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.35013,
    "c": 0.15207,
    "h": 298.2
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#471C7D
secondary
#81B144
accent
#E6419D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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