#471F7D#471F7D

#471F7D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.149 H 297.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#471F7D
RGBrgb(71, 31, 125)
HSLhsl(266, 60%, 31%)
HSVhsv(266, 75%, 49%)
CMYKcmyk(43.2%, 75.2%, 0%, 51%)
CIE-LABlab(23.00, 39.36, -46.02)
CIE-LCHlch(23.00, 60.55, 310.54°)
OKLaboklab(35.38% 0.0689 -0.1316)
OKLCHoklch(35.38% 0.149 297.6)
XYZxyz(6.7892, 3.8001, 19.7739)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F7D #557D1F
analogous
#1F267D #471F7D #761F7D
triadic
#471F7D #7D471F #1F7D47
tetradic
#471F7D #7D1F26 #557D1F #1F7D76
square
#471F7D #7D1F26 #557D1F #1F7D76
split-complementary
#471F7D #7D761F #267D1F
monochromatic
#0F071B #2B134C #471F7D #632BAE #8145D1

Accessibility & contrast

On white

11.93
#471F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#471F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F7D
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F7D#FFFFFF#000000##FFFFFF
##471F7D1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#39374C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471f7d;
/* rgb */ color: rgb(71, 31, 125);
/* oklch */ color: oklch(35.4% 0.149 297.6);
Tailwind
colors: {
  custom: {
    50: '#805fa3',
    500: '#471f7d',
    950: '#000000',
  },
}
SCSS
$custom: #471f7d;
$custom-light: #805fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#471f7d",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 265.532,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35378,
    "c": 0.14852,
    "h": 297.6
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#471F7D
secondary
#84B048
accent
#E344A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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