#471989#471989

#471989 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.169 H 294.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#471989
RGBrgb(71, 25, 137)
HSLhsl(265, 69%, 32%)
HSVhsv(265, 82%, 54%)
CMYKcmyk(48.2%, 81.8%, 0%, 46.3%)
CIE-LABlab(23.14, 45.38, -53.35)
CIE-LCHlch(23.14, 70.04, 310.39°)
OKLaboklab(35.82% 0.0708 -0.153)
OKLCHoklch(35.82% 0.169 294.8)
XYZxyz(7.4603, 3.8408, 24.0103)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471989 #5B8919
analogous
#192389 #471989 #7F1989
triadic
#471989 #894719 #198947
tetradic
#471989 #891923 #5B8919 #19897F
square
#471989 #891923 #5B8919 #19897F
split-complementary
#471989 #897F19 #238919
monochromatic
#110621 #2C1055 #471989 #6222BD #8040DC

Accessibility & contrast

On white

11.88
#471989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#471989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471989
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471989#FFFFFF#000000##FFFFFF
##4719891.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#333951
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471989;
/* rgb */ color: rgb(71, 25, 137);
/* oklch */ color: oklch(35.8% 0.169 294.8);
Tailwind
colors: {
  custom: {
    50: '#825cac',
    500: '#471989',
    950: '#000000',
  },
}
SCSS
$custom: #471989;
$custom-light: #825cac;
$custom-dark: #000000;
JSON
{
  "hex": "#471989",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 264.643,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35816,
    "c": 0.16862,
    "h": 294.8
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#471989
secondary
#8ABC41
accent
#EC3CA4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471989

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

Preview Lab → · Contrast checker → · Palette generator →

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