#471264#471264

#471264 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.136 H 310.1°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#471264
RGBrgb(71, 18, 100)
HSLhsl(279, 69%, 23%)
HSVhsv(279, 82%, 39%)
CMYKcmyk(29%, 82%, 0%, 60.8%)
CIE-LABlab(18.77, 38.91, -36.75)
CIE-LCHlch(18.77, 53.52, 316.63°)
OKLaboklab(31.73% 0.0876 -0.1042)
OKLCHoklch(31.73% 0.136 310.1)
XYZxyz(5.1146, 2.6924, 12.3044)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471264 #2F6412
analogous
#1E1264 #471264 #641258
triadic
#471264 #644712 #126447
tetradic
#471264 #641E12 #2F6412 #125864
square
#471264 #641E12 #2F6412 #125864
split-complementary
#471264 #586412 #12641E
monochromatic
#12051A #220930 #471264 #6C1B98 #9125CC

Accessibility & contrast

On white

13.65
#471264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#471264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471264
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471264#FFFFFF#000000##FFFFFF
##4712641.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#43263B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #471264;
/* rgb */ color: rgb(71, 18, 100);
/* oklch */ color: oklch(31.7% 0.136 310.1);
Tailwind
colors: {
  custom: {
    50: '#7e5791',
    500: '#471264',
    950: '#000000',
  },
}
SCSS
$custom: #471264;
$custom-light: #7e5791;
$custom-dark: #000000;
JSON
{
  "hex": "#471264",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 278.78,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31726,
    "c": 0.13619,
    "h": 310.1
  },
  "luminance": 0.02692
}

Semantic roles & 50–950 ramp

primary
#471264
secondary
#5A9C36
accent
#EC3B7A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030D
muted
#7C787D

Preview Lab

Preview with #471264

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

Preview Lab → · Contrast checker → · Palette generator →

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