#471D97#471D97

#471D97 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.180 H 290.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#471D97
RGBrgb(71, 29, 151)
HSLhsl(261, 68%, 35%)
HSVhsv(261, 81%, 59%)
CMYKcmyk(53%, 80.8%, 0%, 40.8%)
CIE-LABlab(25.11, 47.45, -58.79)
CIE-LCHlch(25.11, 75.55, 308.91°)
OKLaboklab(37.61% 0.0632 -0.169)
OKLCHoklch(37.61% 0.18 290.5)
XYZxyz(8.6222, 4.4523, 29.6772)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D97 #6D971D
analogous
#1D3097 #471D97 #841D97
triadic
#471D97 #97471D #1D9747
tetradic
#471D97 #971D30 #6D971D #1D9784
square
#471D97 #971D30 #6D971D #1D9784
split-complementary
#471D97 #97841D #30971D
monochromatic
#170930 #2F1364 #471D97 #5F27CA #8151DE

Accessibility & contrast

On white

11.11
#471D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#471D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D97
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D97#FFFFFF#000000##FFFFFF
##471D971.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#2A415A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #471d97;
/* rgb */ color: rgb(71, 29, 151);
/* oklch */ color: oklch(37.6% 0.180 290.5);
Tailwind
colors: {
  custom: {
    50: '#845fb7',
    500: '#471d97',
    950: '#000000',
  },
}
SCSS
$custom: #471d97;
$custom-light: #845fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#471d97",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 260.656,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37606,
    "c": 0.18042,
    "h": 290.5
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#471D97
secondary
#99C04F
accent
#EB3DAF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471D97

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

Preview Lab → · Contrast checker → · Palette generator →

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