#471889#471889

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

Color values

HEX#471889
RGBrgb(71, 24, 137)
HSLhsl(265, 70%, 32%)
HSVhsv(265, 82%, 54%)
CMYKcmyk(48.2%, 82.5%, 0%, 46.3%)
CIE-LABlab(22.99, 45.80, -53.59)
CIE-LCHlch(22.99, 70.49, 310.52°)
OKLaboklab(35.72% 0.0715 -0.1537)
OKLCHoklch(35.72% 0.17 295)
XYZxyz(7.4393, 3.7988, 24.0033)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471889 #5A8918
analogous
#182289 #471889 #801889
triadic
#471889 #894718 #188947
tetradic
#471889 #891822 #5A8918 #188980
square
#471889 #891822 #5A8918 #188980
split-complementary
#471889 #898018 #228918
monochromatic
#110621 #2C0F55 #471889 #6221BD #803EDD

Accessibility & contrast

On white

11.93
#471889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471889
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471889#FFFFFF#000000##FFFFFF
##4718891.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.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: #471889;
/* rgb */ color: rgb(71, 24, 137);
/* oklch */ color: oklch(35.7% 0.170 295.0);
Tailwind
colors: {
  custom: {
    50: '#825cac',
    500: '#471889',
    950: '#000000',
  },
}
SCSS
$custom: #471889;
$custom-light: #825cac;
$custom-dark: #000000;
JSON
{
  "hex": "#471889",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 264.956,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35717,
    "c": 0.16955,
    "h": 295
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#471889
secondary
#89BD40
accent
#ED3BA3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471889

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

Preview Lab → · Contrast checker → · Palette generator →

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