#471895#471895

#471895 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.183 H 291.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#471895
RGBrgb(71, 24, 149)
HSLhsl(263, 72%, 34%)
HSVhsv(263, 84%, 58%)
CMYKcmyk(52.3%, 83.9%, 0%, 41.6%)
CIE-LABlab(24.20, 48.98, -59.06)
CIE-LCHlch(24.20, 76.72, 309.67°)
OKLaboklab(36.92% 0.0673 -0.1697)
OKLCHoklch(36.92% 0.183 291.6)
XYZxyz(8.3484, 4.1625, 28.7915)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471895 #669518
analogous
#182895 #471895 #861895
triadic
#471895 #954718 #189547
tetradic
#471895 #951828 #669518 #189586
square
#471895 #951828 #669518 #189586
split-complementary
#471895 #958618 #289518
monochromatic
#15072C #2E1060 #471895 #6020CA #8046E1

Accessibility & contrast

On white

11.46
#471895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#471895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471895
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471895#FFFFFF#000000##FFFFFF
##4718951.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#2C3E58
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #471895;
/* rgb */ color: rgb(71, 24, 149);
/* oklch */ color: oklch(36.9% 0.183 291.6);
Tailwind
colors: {
  custom: {
    50: '#845db5',
    500: '#471895',
    950: '#000000',
  },
}
SCSS
$custom: #471895;
$custom-light: #845db5;
$custom-dark: #000000;
JSON
{
  "hex": "#471895",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 262.56,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36915,
    "c": 0.18257,
    "h": 291.6
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#471895
secondary
#94C246
accent
#EF39AA
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #471895

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

Preview Lab → · Contrast checker → · Palette generator →

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