#471B7C#471B7C

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

Color values

HEX#471B7C
RGBrgb(71, 27, 124)
HSLhsl(267, 64%, 30%)
HSVhsv(267, 78%, 49%)
CMYKcmyk(42.7%, 78.2%, 0%, 51.4%)
CIE-LABlab(22.23, 41.03, -46.65)
CIE-LCHlch(22.23, 62.12, 311.34°)
OKLaboklab(34.81% 0.073 -0.1334)
OKLCHoklch(34.81% 0.152 298.7)
XYZxyz(6.6276, 3.5786, 19.4064)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B7C #507C1B
analogous
#1B207C #471B7C #771B7C
triadic
#471B7C #7C471B #1B7C47
tetradic
#471B7C #7C1B20 #507C1B #1B7C77
square
#471B7C #7C1B20 #507C1B #1B7C77
split-complementary
#471B7C #7C771B #207C1B
monochromatic
#0E0519 #2A104A #471B7C #6426AE #823DD5

Accessibility & contrast

On white

12.24
#471B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471B7C
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B7C#FFFFFF#000000##FFFFFF
##471B7C1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#3A354A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471b7c;
/* rgb */ color: rgb(71, 27, 124);
/* oklch */ color: oklch(34.8% 0.152 298.7);
Tailwind
colors: {
  custom: {
    50: '#805ca3',
    500: '#471b7c',
    950: '#000000',
  },
}
SCSS
$custom: #471b7c;
$custom-light: #805ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#471b7c",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 267.216,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34806,
    "c": 0.15207,
    "h": 298.7
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#471B7C
secondary
#7EB043
accent
#E7419C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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