#471E7C#471E7C

#471E7C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.149 H 298.2°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#471E7C
RGBrgb(71, 30, 124)
HSLhsl(266, 61%, 30%)
HSVhsv(266, 76%, 49%)
CMYKcmyk(42.7%, 75.8%, 0%, 51.4%)
CIE-LABlab(22.73, 39.59, -45.82)
CIE-LCHlch(22.73, 60.55, 310.83°)
OKLaboklab(35.16% 0.0701 -0.131)
OKLCHoklch(35.16% 0.149 298.2)
XYZxyz(6.7000, 3.7233, 19.4305)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E7C #537C1E
analogous
#1E247C #471E7C #761E7C
triadic
#471E7C #7C471E #1E7C47
tetradic
#471E7C #7C1E24 #537C1E #1E7C76
square
#471E7C #7C1E24 #537C1E #1E7C76
split-complementary
#471E7C #7C761E #247C1E
monochromatic
#0F0619 #2B124B #471E7C #632AAD #8143D1

Accessibility & contrast

On white

12.04
#471E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#471E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E7C
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E7C#FFFFFF#000000##FFFFFF
##471E7C1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#3A364B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471e7c;
/* rgb */ color: rgb(71, 30, 124);
/* oklch */ color: oklch(35.2% 0.149 298.2);
Tailwind
colors: {
  custom: {
    50: '#805ea3',
    500: '#471e7c',
    950: '#000000',
  },
}
SCSS
$custom: #471e7c;
$custom-light: #805ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#471e7c",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 266.17,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35164,
    "c": 0.14857,
    "h": 298.2
  },
  "luminance": 0.03723
}

Semantic roles & 50–950 ramp

primary
#471E7C
secondary
#82AF46
accent
#E4449E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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