#471D7C#471D7C

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

Color values

HEX#471D7C
RGBrgb(71, 29, 124)
HSLhsl(267, 62%, 30%)
HSVhsv(267, 77%, 49%)
CMYKcmyk(42.7%, 76.6%, 0%, 51.4%)
CIE-LABlab(22.56, 40.08, -46.10)
CIE-LCHlch(22.56, 61.08, 311.00°)
OKLaboklab(35.04% 0.0711 -0.1318)
OKLCHoklch(35.04% 0.15 298.4)
XYZxyz(6.6751, 3.6735, 19.4222)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D7C #527C1D
analogous
#1D237C #471D7C #761D7C
triadic
#471D7C #7C471D #1D7C47
tetradic
#471D7C #7C1D23 #527C1D #1D7C76
square
#471D7C #7C1D23 #527C1D #1D7C76
split-complementary
#471D7C #7C761D #237C1D
monochromatic
#0E0619 #2B114A #471D7C #6329AE #8141D3

Accessibility & contrast

On white

12.11
#471D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471D7C
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D7C#FFFFFF#000000##FFFFFF
##471D7C1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#3A364B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471d7c;
/* rgb */ color: rgb(71, 29, 124);
/* oklch */ color: oklch(35.0% 0.150 298.4);
Tailwind
colors: {
  custom: {
    50: '#805da3',
    500: '#471d7c',
    950: '#000000',
  },
}
SCSS
$custom: #471d7c;
$custom-light: #805da3;
$custom-dark: #000000;
JSON
{
  "hex": "#471d7c",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 266.526,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.35041,
    "c": 0.14976,
    "h": 298.4
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#471D7C
secondary
#81B045
accent
#E5439D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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