#471987#471987

#471987 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.166 H 295.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#471987
RGBrgb(71, 25, 135)
HSLhsl(265, 69%, 31%)
HSVhsv(265, 81%, 53%)
CMYKcmyk(47.4%, 81.5%, 0%, 47.1%)
CIE-LABlab(22.94, 44.85, -52.42)
CIE-LCHlch(22.94, 68.99, 310.55°)
OKLaboklab(35.62% 0.0714 -0.1503)
OKLCHoklch(35.62% 0.166 295.4)
XYZxyz(7.3182, 3.7839, 23.2618)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471987 #598719
analogous
#192287 #471987 #7E1987
triadic
#471987 #874719 #198747
tetradic
#471987 #871922 #598719 #19877E
square
#471987 #871922 #598719 #19877E
split-complementary
#471987 #877E19 #228719
monochromatic
#110620 #2C0F53 #471987 #6223BB #803FDB

Accessibility & contrast

On white

11.95
#471987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#471987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471987
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471987#FFFFFF#000000##FFFFFF
##4719871.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#353850
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471987;
/* rgb */ color: rgb(71, 25, 135);
/* oklch */ color: oklch(35.6% 0.166 295.4);
Tailwind
colors: {
  custom: {
    50: '#815cab',
    500: '#471987',
    950: '#000000',
  },
}
SCSS
$custom: #471987;
$custom-light: #815cab;
$custom-dark: #000000;
JSON
{
  "hex": "#471987",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 265.091,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35622,
    "c": 0.16641,
    "h": 295.4
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#471987
secondary
#88BA41
accent
#EC3CA2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471987

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

Preview Lab → · Contrast checker → · Palette generator →

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