#471C7B#471C7B

#471C7B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.150 H 298.9°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#471C7B
RGBrgb(71, 28, 123)
HSLhsl(267, 63%, 30%)
HSVhsv(267, 77%, 48%)
CMYKcmyk(42.3%, 77.2%, 0%, 51.8%)
CIE-LABlab(22.30, 40.29, -45.88)
CIE-LCHlch(22.30, 61.06, 311.29°)
OKLaboklab(34.83% 0.0723 -0.1312)
OKLCHoklch(34.83% 0.15 298.9)
XYZxyz(6.5880, 3.6001, 19.0828)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C7B #507B1C
analogous
#1C207B #471C7B #771C7B
triadic
#471C7B #7B471C #1C7B47
tetradic
#471C7B #7B1C20 #507B1C #1C7B77
square
#471C7B #7B1C20 #507B1C #1C7B77
split-complementary
#471C7B #7B771C #207B1C
monochromatic
#0E0619 #2A1149 #471C7B #6427AD #823ED3

Accessibility & contrast

On white

12.21
#471C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#471C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471C7B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C7B#FFFFFF#000000##FFFFFF
##471C7B1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#3A354A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471c7b;
/* rgb */ color: rgb(71, 28, 123);
/* oklch */ color: oklch(34.8% 0.150 298.9);
Tailwind
colors: {
  custom: {
    50: '#805da2',
    500: '#471c7b',
    950: '#000000',
  },
}
SCSS
$custom: #471c7b;
$custom-light: #805da2;
$custom-dark: #000000;
JSON
{
  "hex": "#471c7b",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 267.158,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34832,
    "c": 0.14979,
    "h": 298.9
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#471C7B
secondary
#7EAF44
accent
#E6429C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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