#471F93#471F93

#471F93 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.174 H 291.2°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#471F93
RGBrgb(71, 31, 147)
HSLhsl(261, 65%, 35%)
HSVhsv(261, 79%, 58%)
CMYKcmyk(51.7%, 78.9%, 0%, 42.4%)
CIE-LABlab(25.03, 45.44, -56.46)
CIE-LCHlch(25.03, 72.47, 308.83°)
OKLaboklab(37.43% 0.063 -0.1622)
OKLCHoklch(37.43% 0.174 291.2)
XYZxyz(8.3535, 4.4258, 28.0122)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F93 #6B931F
analogous
#1F3193 #471F93 #811F93
triadic
#471F93 #93471F #1F9347
tetradic
#471F93 #931F31 #6B931F #1F9381
square
#471F93 #931F31 #6B931F #1F9381
split-complementary
#471F93 #93811F #31931F
monochromatic
#160A2E #2F1460 #471F93 #5F2AC6 #8152DA

Accessibility & contrast

On white

11.14
#471F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471F93
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F93#FFFFFF#000000##FFFFFF
##471F931.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#2D4058
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #471f93;
/* rgb */ color: rgb(71, 31, 147);
/* oklch */ color: oklch(37.4% 0.174 291.2);
Tailwind
colors: {
  custom: {
    50: '#8360b4',
    500: '#471f93',
    950: '#000000',
  },
}
SCSS
$custom: #471f93;
$custom-light: #8360b4;
$custom-dark: #000000;
JSON
{
  "hex": "#471f93",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 260.69,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3743,
    "c": 0.17399,
    "h": 291.2
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#471F93
secondary
#98BE50
accent
#E840AE
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471F93

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

Preview Lab → · Contrast checker → · Palette generator →

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