#471A63#471A63

#471A63 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.125 H 309.3°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#471A63
RGBrgb(71, 26, 99)
HSLhsl(277, 58%, 25%)
HSVhsv(277, 74%, 39%)
CMYKcmyk(28.3%, 73.7%, 0%, 61.2%)
CIE-LABlab(19.96, 35.05, -34.16)
CIE-LCHlch(19.96, 48.94, 315.74°)
OKLaboklab(32.55% 0.0792 -0.0967)
OKLCHoklch(32.55% 0.125 309.3)
XYZxyz(5.2196, 2.9793, 12.1021)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A63 #36631A
analogous
#221A63 #471A63 #631A5B
triadic
#471A63 #63471A #1A6347
tetradic
#471A63 #63221A #36631A #1A5B63
square
#471A63 #63221A #36631A #1A5B63
split-complementary
#471A63 #5B631A #1A6322
monochromatic
#110618 #240D33 #471A63 #6A2793 #8D33C4

Accessibility & contrast

On white

13.16
#471A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#471A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A63
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A63#FFFFFF#000000##FFFFFF
##471A631.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#0C3161
Tritanopia (blue-blind)
#432A3C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #471a63;
/* rgb */ color: rgb(71, 26, 99);
/* oklch */ color: oklch(32.5% 0.125 309.3);
Tailwind
colors: {
  custom: {
    50: '#7d5b90',
    500: '#471a63',
    950: '#000000',
  },
}
SCSS
$custom: #471a63;
$custom-light: #7d5b90;
$custom-dark: #000000;
JSON
{
  "hex": "#471a63",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 276.986,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.125,
    "h": 309.3
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#471A63
secondary
#629940
accent
#E24682
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #471A63

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

Preview Lab → · Contrast checker → · Palette generator →

#471A63 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva