#471258#471258

#471258 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.124 H 316.5°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#471258
RGBrgb(71, 18, 88)
HSLhsl(285, 66%, 21%)
HSVhsv(285, 80%, 35%)
CMYKcmyk(19.3%, 79.5%, 0%, 65.5%)
CIE-LABlab(17.81, 36.14, -30.30)
CIE-LCHlch(17.81, 47.17, 320.02°)
OKLaboklab(30.75% 0.0899 -0.0853)
OKLCHoklch(30.75% 0.124 316.5)
XYZxyz(4.5760, 2.4770, 9.4677)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471258 #235812
analogous
#241258 #471258 #581246
triadic
#471258 #584712 #125847
tetradic
#471258 #582412 #235812 #124658
square
#471258 #582412 #235812 #124658
split-complementary
#471258 #465812 #125824
monochromatic
#140519 #1E0825 #471258 #701C8B #9927BE

Accessibility & contrast

On white

14.04
#471258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#471258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471258
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471258#FFFFFF#000000##FFFFFF
##4712581.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#122D56
Tritanopia (blue-blind)
#462134
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #471258;
/* rgb */ color: rgb(71, 18, 88);
/* oklch */ color: oklch(30.8% 0.124 316.5);
Tailwind
colors: {
  custom: {
    50: '#7d5688',
    500: '#471258',
    950: '#000000',
  },
}
SCSS
$custom: #471258;
$custom-light: #7d5688;
$custom-dark: #000000;
JSON
{
  "hex": "#471258",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 285.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30752,
    "c": 0.1239,
    "h": 316.5
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#471258
secondary
#4B9135
accent
#E93F68
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #471258

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

Preview Lab → · Contrast checker → · Palette generator →

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