#471988#471988

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

Color values

HEX#471988
RGBrgb(71, 25, 136)
HSLhsl(265, 69%, 32%)
HSVhsv(265, 82%, 53%)
CMYKcmyk(47.8%, 81.6%, 0%, 46.7%)
CIE-LABlab(23.04, 45.12, -52.88)
CIE-LCHlch(23.04, 69.51, 310.47°)
OKLaboklab(35.72% 0.0711 -0.1517)
OKLCHoklch(35.72% 0.168 295.1)
XYZxyz(7.3889, 3.8122, 23.6343)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471988 #5A8819
analogous
#192388 #471988 #7F1988
triadic
#471988 #884719 #198847
tetradic
#471988 #881923 #5A8819 #19887F
square
#471988 #881923 #5A8819 #19887F
split-complementary
#471988 #887F19 #238819
monochromatic
#110621 #2C0F54 #471988 #6223BC #8040DC

Accessibility & contrast

On white

11.92
#471988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471988
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471988#FFFFFF#000000##FFFFFF
##4719881.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#343951
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471988;
/* rgb */ color: rgb(71, 25, 136);
/* oklch */ color: oklch(35.7% 0.168 295.1);
Tailwind
colors: {
  custom: {
    50: '#825cac',
    500: '#471988',
    950: '#000000',
  },
}
SCSS
$custom: #471988;
$custom-light: #825cac;
$custom-dark: #000000;
JSON
{
  "hex": "#471988",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 264.865,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35719,
    "c": 0.16751,
    "h": 295.1
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#471988
secondary
#89BB41
accent
#EC3CA3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471988

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

Preview Lab → · Contrast checker → · Palette generator →

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