#471E8C#471E8C

#471E8C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.167 H 293.2°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#471E8C
RGBrgb(71, 30, 140)
HSLhsl(262, 65%, 33%)
HSVhsv(262, 79%, 55%)
CMYKcmyk(49.3%, 78.6%, 0%, 45.1%)
CIE-LABlab(24.20, 43.97, -53.48)
CIE-LCHlch(24.20, 69.24, 309.42°)
OKLaboklab(36.64% 0.0659 -0.1535)
OKLCHoklch(36.64% 0.167 293.2)
XYZxyz(7.7951, 4.1613, 25.1984)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E8C #638C1E
analogous
#1E2C8C #471E8C #7E1E8C
triadic
#471E8C #8C471E #1E8C47
tetradic
#471E8C #8C1E2C #638C1E #1E8C7E
square
#471E8C #8C1E2C #638C1E #1E8C7E
split-complementary
#471E8C #8C7E1E #2C8C1E
monochromatic
#140827 #2D135A #471E8C #6129BE #804CD9

Accessibility & contrast

On white

11.46
#471E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#471E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E8C
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E8C#FFFFFF#000000##FFFFFF
##471E8C1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#313C54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #471e8c;
/* rgb */ color: rgb(71, 30, 140);
/* oklch */ color: oklch(36.6% 0.167 293.2);
Tailwind
colors: {
  custom: {
    50: '#825faf',
    500: '#471e8c',
    950: '#000000',
  },
}
SCSS
$custom: #471e8c;
$custom-light: #825faf;
$custom-dark: #000000;
JSON
{
  "hex": "#471e8c",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 262.364,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36643,
    "c": 0.16701,
    "h": 293.2
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#471E8C
secondary
#91BB4B
accent
#E840A9
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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