#471B72#471B72

#471B72 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.141 H 302.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#471B72
RGBrgb(71, 27, 114)
HSLhsl(270, 62%, 28%)
HSVhsv(270, 76%, 45%)
CMYKcmyk(37.7%, 76.3%, 0%, 55.3%)
CIE-LABlab(21.35, 38.39, -41.67)
CIE-LCHlch(21.35, 56.66, 312.65°)
OKLaboklab(33.92% 0.0755 -0.1188)
OKLCHoklch(33.92% 0.141 302.4)
XYZxyz(6.0270, 3.3384, 16.2432)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B72 #46721B
analogous
#1C1B72 #471B72 #721B71
triadic
#471B72 #72471B #1B7247
tetradic
#471B72 #721C1B #46721B #1B7172
square
#471B72 #721C1B #46721B #1B7172
split-complementary
#471B72 #71721B #1B721C
monochromatic
#0F0619 #280F41 #471B72 #6627A3 #8538D0

Accessibility & contrast

On white

12.59
#471B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#471B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B72
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B72#FFFFFF#000000##FFFFFF
##471B721.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#3E3045
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471b72;
/* rgb */ color: rgb(71, 27, 114);
/* oklch */ color: oklch(33.9% 0.141 302.4);
Tailwind
colors: {
  custom: {
    50: '#7f5c9b',
    500: '#471b72',
    950: '#000000',
  },
}
SCSS
$custom: #471b72;
$custom-light: #7f5c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#471b72",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 270.345,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33917,
    "c": 0.14072,
    "h": 302.4
  },
  "luminance": 0.03338
}

Semantic roles & 50–950 ramp

primary
#471B72
secondary
#74A742
accent
#E54393
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471B72

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

Preview Lab → · Contrast checker → · Palette generator →

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