#471E7D#471E7D

#471E7D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.150 H 297.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#471E7D
RGBrgb(71, 30, 125)
HSLhsl(266, 61%, 30%)
HSVhsv(266, 76%, 49%)
CMYKcmyk(43.2%, 76%, 0%, 51%)
CIE-LABlab(22.82, 39.86, -46.31)
CIE-LCHlch(22.82, 61.10, 310.72°)
OKLaboklab(35.25% 0.0699 -0.1324)
OKLCHoklch(35.25% 0.15 297.8)
XYZxyz(6.7635, 3.7487, 19.7653)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E7D #547D1E
analogous
#1E247D #471E7D #761E7D
triadic
#471E7D #7D471E #1E7D47
tetradic
#471E7D #7D1E24 #547D1E #1E7D76
square
#471E7D #7D1E24 #547D1E #1E7D76
split-complementary
#471E7D #7D761E #247D1E
monochromatic
#0F061A #2B124C #471E7D #632AAE #8143D2

Accessibility & contrast

On white

12.00
#471E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#471E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E7D
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E7D#FFFFFF#000000##FFFFFF
##471E7D1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#39364C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471e7d;
/* rgb */ color: rgb(71, 30, 125);
/* oklch */ color: oklch(35.3% 0.150 297.8);
Tailwind
colors: {
  custom: {
    50: '#805ea3',
    500: '#471e7d',
    950: '#000000',
  },
}
SCSS
$custom: #471e7d;
$custom-light: #805ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#471e7d",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 265.895,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35253,
    "c": 0.14973,
    "h": 297.8
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#471E7D
secondary
#83B046
accent
#E4439F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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