#471790#471790

#471790 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.178 H 293.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#471790
RGBrgb(71, 23, 144)
HSLhsl(264, 72%, 33%)
HSVhsv(264, 84%, 56%)
CMYKcmyk(50.7%, 84%, 0%, 43.5%)
CIE-LABlab(23.56, 48.04, -57.02)
CIE-LCHlch(23.56, 74.56, 310.12°)
OKLaboklab(36.32% 0.0697 -0.1638)
OKLCHoklch(36.32% 0.178 293.1)
XYZxyz(7.9376, 3.9657, 26.7274)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471790 #609017
analogous
#172390 #471790 #841790
triadic
#471790 #904717 #179047
tetradic
#471790 #901723 #609017 #179084
square
#471790 #901723 #609017 #179084
split-complementary
#471790 #908417 #239017
monochromatic
#130626 #2D0F5B #471790 #611FC5 #8041E1

Accessibility & contrast

On white

11.71
#471790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#471790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471790
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471790#FFFFFF#000000##FFFFFF
##4717901.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#2F3B55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471790;
/* rgb */ color: rgb(71, 23, 144);
/* oklch */ color: oklch(36.3% 0.178 293.1);
Tailwind
colors: {
  custom: {
    50: '#835cb2',
    500: '#471790',
    950: '#000000',
  },
}
SCSS
$custom: #471790;
$custom-light: #835cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#471790",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 263.802,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36317,
    "c": 0.178,
    "h": 293.1
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#471790
secondary
#8FC142
accent
#EF39A7
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #471790

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

Preview Lab → · Contrast checker → · Palette generator →

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