#471F94#471F94

#471F94 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.175 H 291.0°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#471F94
RGBrgb(71, 31, 148)
HSLhsl(261, 65%, 35%)
HSVhsv(261, 79%, 58%)
CMYKcmyk(52%, 79.1%, 0%, 42%)
CIE-LABlab(25.13, 45.72, -56.91)
CIE-LCHlch(25.13, 73.00, 308.78°)
OKLaboklab(37.53% 0.0627 -0.1635)
OKLCHoklch(37.53% 0.175 291)
XYZxyz(8.4323, 4.4573, 28.4273)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F94 #6C941F
analogous
#1F3194 #471F94 #821F94
triadic
#471F94 #94471F #1F9447
tetradic
#471F94 #941F31 #6C941F #1F9482
square
#471F94 #941F31 #6C941F #1F9482
split-complementary
#471F94 #94821F #31941F
monochromatic
#160A2F #2F1461 #471F94 #5F2AC7 #8153DB

Accessibility & contrast

On white

11.10
#471F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471F94
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F94#FFFFFF#000000##FFFFFF
##471F941.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#2C4059
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #471f94;
/* rgb */ color: rgb(71, 31, 148);
/* oklch */ color: oklch(37.5% 0.175 291.0);
Tailwind
colors: {
  custom: {
    50: '#8360b4',
    500: '#471f94',
    950: '#000000',
  },
}
SCSS
$custom: #471f94;
$custom-light: #8360b4;
$custom-dark: #000000;
JSON
{
  "hex": "#471f94",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 260.513,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37528,
    "c": 0.17513,
    "h": 291
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#471F94
secondary
#99BE51
accent
#E83FAF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471F94

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

Preview Lab → · Contrast checker → · Palette generator →

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