#471FB4#471FB4

#471FB4 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.8% C 0.211 H 284.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#471FB4
RGBrgb(71, 31, 180)
HSLhsl(256, 71%, 41%)
HSVhsv(256, 83%, 71%)
CMYKcmyk(60.6%, 82.8%, 0%, 29.4%)
CIE-LABlab(28.42, 54.58, -70.90)
CIE-LCHlch(28.42, 89.47, 307.59°)
OKLaboklab(40.79% 0.0521 -0.2044)
OKLCHoklch(40.79% 0.211 284.3)
XYZxyz(11.3242, 5.6141, 43.6581)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471FB4 #8CB41F
analogous
#1F42B4 #471FB4 #921FB4
triadic
#471FB4 #B4471F #1FB447
tetradic
#471FB4 #B41F42 #8CB41F #1FB492
square
#471FB4 #B41F42 #8CB41F #1FB492
split-complementary
#471FB4 #B4921F #42B41F
monochromatic
#1E0D4C #321680 #471FB4 #6134DC #8A68E5

Accessibility & contrast

On white

9.89
#471FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#471FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471FB4
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471FB4#FFFFFF#000000##FFFFFF
##471FB41.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #471fb4;
/* rgb */ color: rgb(71, 31, 180);
/* oklch */ color: oklch(40.8% 0.211 284.3);
Tailwind
colors: {
  custom: {
    50: '#8862cc',
    500: '#471fb4',
    950: '#000000',
  },
}
SCSS
$custom: #471fb4;
$custom-light: #8862cc;
$custom-dark: #000000;
JSON
{
  "hex": "#471fb4",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 256.107,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40788,
    "c": 0.2109,
    "h": 284.3
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#471FB4
secondary
#AFCB64
accent
#ED3ABD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #471FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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