#471C8B#471C8B

#471C8B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.168 H 293.8°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#471C8B
RGBrgb(71, 28, 139)
HSLhsl(263, 66%, 33%)
HSVhsv(263, 80%, 55%)
CMYKcmyk(48.9%, 79.9%, 0%, 45.5%)
CIE-LABlab(23.78, 44.61, -53.54)
CIE-LCHlch(23.78, 69.69, 309.80°)
OKLaboklab(36.32% 0.0678 -0.1536)
OKLCHoklch(36.32% 0.168 293.8)
XYZxyz(7.6727, 4.0339, 24.7955)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C8B #608B1C
analogous
#1C298B #471C8B #7E1C8B
triadic
#471C8B #8B471C #1C8B47
tetradic
#471C8B #8B1C29 #608B1C #1C8B7E
square
#471C8B #8B1C29 #608B1C #1C8B7E
split-complementary
#471C8B #8B7E1C #298B1C
monochromatic
#130725 #2D1258 #471C8B #6126BE #8047DA

Accessibility & contrast

On white

11.62
#471C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#471C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471C8B
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C8B#FFFFFF#000000##FFFFFF
##471C8B1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#323B53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471c8b;
/* rgb */ color: rgb(71, 28, 139);
/* oklch */ color: oklch(36.3% 0.168 293.8);
Tailwind
colors: {
  custom: {
    50: '#825eae',
    500: '#471c8b',
    950: '#000000',
  },
}
SCSS
$custom: #471c8b;
$custom-light: #825eae;
$custom-dark: #000000;
JSON
{
  "hex": "#471c8b",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 263.243,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36324,
    "c": 0.16792,
    "h": 293.8
  },
  "luminance": 0.04034
}

Semantic roles & 50–950 ramp

primary
#471C8B
secondary
#8FBC47
accent
#E93EA7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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