#471689#471689

#471689 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.171 H 295.2°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#471689
RGBrgb(71, 22, 137)
HSLhsl(266, 72%, 31%)
HSVhsv(266, 84%, 54%)
CMYKcmyk(48.2%, 83.9%, 0%, 46.3%)
CIE-LABlab(22.72, 46.60, -54.04)
CIE-LCHlch(22.72, 71.35, 310.77°)
OKLaboklab(35.53% 0.073 -0.155)
OKLCHoklch(35.53% 0.171 295.2)
XYZxyz(7.3996, 3.7194, 23.9901)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471689 #588916
analogous
#161E89 #471689 #801689
triadic
#471689 #894716 #168947
tetradic
#471689 #89161E #588916 #168980
square
#471689 #89161E #588916 #168980
split-complementary
#471689 #898016 #1E8916
monochromatic
#100520 #2C0E54 #471689 #621EBE #803ADF

Accessibility & contrast

On white

12.04
#471689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#471689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471689
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471689#FFFFFF#000000##FFFFFF
##4716891.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471689;
/* rgb */ color: rgb(71, 22, 137);
/* oklch */ color: oklch(35.5% 0.171 295.2);
Tailwind
colors: {
  custom: {
    50: '#825bac',
    500: '#471689',
    950: '#000000',
  },
}
SCSS
$custom: #471689;
$custom-light: #825bac;
$custom-dark: #000000;
JSON
{
  "hex": "#471689",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 265.565,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35527,
    "c": 0.17132,
    "h": 295.2
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#471689
secondary
#87BD3E
accent
#EF39A1
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471689

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

Preview Lab → · Contrast checker → · Palette generator →

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