#471266#471266

#471266 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.138 H 309.1°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#471266
RGBrgb(71, 18, 102)
HSLhsl(278, 70%, 24%)
HSVhsv(278, 82%, 40%)
CMYKcmyk(30.4%, 82.4%, 0%, 60%)
CIE-LABlab(18.94, 39.38, -37.79)
CIE-LCHlch(18.94, 54.58, 316.18°)
OKLaboklab(31.9% 0.0872 -0.1073)
OKLCHoklch(31.9% 0.138 309.1)
XYZxyz(5.2126, 2.7316, 12.8205)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471266 #316612
analogous
#1D1266 #471266 #66125B
triadic
#471266 #664712 #126647
tetradic
#471266 #661D12 #316612 #125B66
square
#471266 #661D12 #316612 #125B66
split-complementary
#471266 #5B6612 #12661D
monochromatic
#12051A #230932 #471266 #6B1B9A #8F24CE

Accessibility & contrast

On white

13.58
#471266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#471266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471266
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471266#FFFFFF#000000##FFFFFF
##4712661.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#42273C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #471266;
/* rgb */ color: rgb(71, 18, 102);
/* oklch */ color: oklch(31.9% 0.138 309.1);
Tailwind
colors: {
  custom: {
    50: '#7e5792',
    500: '#471266',
    950: '#000000',
  },
}
SCSS
$custom: #471266;
$custom-light: #7e5792;
$custom-dark: #000000;
JSON
{
  "hex": "#471266",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 277.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31897,
    "c": 0.13825,
    "h": 309.1
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#471266
secondary
#5C9E36
accent
#ED3B7D
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #471266

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

Preview Lab → · Contrast checker → · Palette generator →

#471266 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva