#471B7E#471B7E

#471B7E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.154 H 298.0°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#471B7E
RGBrgb(71, 27, 126)
HSLhsl(267, 65%, 30%)
HSVhsv(267, 79%, 49%)
CMYKcmyk(43.7%, 78.6%, 0%, 50.6%)
CIE-LABlab(22.41, 41.56, -47.62)
CIE-LCHlch(22.41, 63.21, 311.12°)
OKLaboklab(34.99% 0.0725 -0.1362)
OKLCHoklch(34.99% 0.154 298)
XYZxyz(6.7554, 3.6297, 20.0793)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B7E #527E1B
analogous
#1B207E #471B7E #791B7E
triadic
#471B7E #7E471B #1B7E47
tetradic
#471B7E #7E1B20 #527E1B #1B7E79
square
#471B7E #7E1B20 #527E1B #1B7E79
split-complementary
#471B7E #7E791B #207E1B
monochromatic
#0E0519 #2B104C #471B7E #6326B0 #813ED6

Accessibility & contrast

On white

12.17
#471B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471B7E
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B7E#FFFFFF#000000##FFFFFF
##471B7E1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#39354B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471b7e;
/* rgb */ color: rgb(71, 27, 126);
/* oklch */ color: oklch(35.0% 0.154 298.0);
Tailwind
colors: {
  custom: {
    50: '#805da4',
    500: '#471b7e',
    950: '#000000',
  },
}
SCSS
$custom: #471b7e;
$custom-light: #805da4;
$custom-dark: #000000;
JSON
{
  "hex": "#471b7e",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 266.667,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.34989,
    "c": 0.15432,
    "h": 298
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#471B7E
secondary
#81B243
accent
#E8409D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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