#471789#471789

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

Color values

HEX#471789
RGBrgb(71, 23, 137)
HSLhsl(265, 71%, 31%)
HSVhsv(265, 83%, 54%)
CMYKcmyk(48.2%, 83.2%, 0%, 46.3%)
CIE-LABlab(22.86, 46.20, -53.81)
CIE-LCHlch(22.86, 70.93, 310.65°)
OKLaboklab(35.62% 0.0723 -0.1544)
OKLCHoklch(35.62% 0.17 295.1)
XYZxyz(7.4191, 3.7583, 23.9966)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471789 #598917
analogous
#172089 #471789 #801789
triadic
#471789 #894717 #178947
tetradic
#471789 #891720 #598917 #178980
square
#471789 #891720 #598917 #178980
split-complementary
#471789 #898017 #208917
monochromatic
#110520 #2C0E55 #471789 #6220BD #803CDE

Accessibility & contrast

On white

11.99
#471789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#471789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471789
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471789#FFFFFF#000000##FFFFFF
##4717891.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471789;
/* rgb */ color: rgb(71, 23, 137);
/* oklch */ color: oklch(35.6% 0.170 295.1);
Tailwind
colors: {
  custom: {
    50: '#825bac',
    500: '#471789',
    950: '#000000',
  },
}
SCSS
$custom: #471789;
$custom-light: #825bac;
$custom-dark: #000000;
JSON
{
  "hex": "#471789",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 265.263,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35621,
    "c": 0.17045,
    "h": 295.1
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#471789
secondary
#88BD3F
accent
#EE3AA2
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471789

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

Preview Lab → · Contrast checker → · Palette generator →

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