#471DA8#471DA8

#471DA8 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.199 H 286.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#471DA8
RGBrgb(71, 29, 168)
HSLhsl(258, 71%, 39%)
HSVhsv(258, 83%, 66%)
CMYKcmyk(57.7%, 82.7%, 0%, 34.1%)
CIE-LABlab(26.86, 52.10, -66.27)
CIE-LCHlch(26.86, 84.30, 308.18°)
OKLaboklab(39.34% 0.0574 -0.1908)
OKLCHoklch(39.34% 0.199 286.7)
XYZxyz(10.1037, 5.0449, 37.4796)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471DA8 #7EA81D
analogous
#1D39A8 #471DA8 #8C1DA8
triadic
#471DA8 #A8471D #1DA847
tetradic
#471DA8 #A81D39 #7EA81D #1DA88C
square
#471DA8 #A81D39 #7EA81D #1DA88C
split-complementary
#471DA8 #A88C1D #39A81D
monochromatic
#1B0B40 #311474 #471DA8 #5E28DA #855CE3

Accessibility & contrast

On white

10.45
#471DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#471DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471DA8
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471DA8#FFFFFF#000000##FFFFFF
##471DA81.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#164864
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #471da8;
/* rgb */ color: rgb(71, 29, 168);
/* oklch */ color: oklch(39.3% 0.199 286.7);
Tailwind
colors: {
  custom: {
    50: '#8660c3',
    500: '#471da8',
    950: '#000000',
  },
}
SCSS
$custom: #471da8;
$custom-light: #8660c3;
$custom-dark: #000000;
JSON
{
  "hex": "#471da8",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 168
  },
  "hsl": {
    "h": 258.129,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39339,
    "c": 0.19927,
    "h": 286.7
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#471DA8
secondary
#A6C75A
accent
#ED3AB7
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #471DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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