#471A7F#471A7F

#471A7F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.157 H 297.8°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#471A7F
RGBrgb(71, 26, 127)
HSLhsl(267, 66%, 30%)
HSVhsv(267, 80%, 50%)
CMYKcmyk(44.1%, 79.5%, 0%, 50.2%)
CIE-LABlab(22.34, 42.29, -48.36)
CIE-LCHlch(22.34, 64.24, 311.16°)
OKLaboklab(34.97% 0.0731 -0.1384)
OKLCHoklch(34.97% 0.157 297.8)
XYZxyz(6.7977, 3.6106, 20.4133)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A7F #527F1A
analogous
#1A1F7F #471A7F #7A1A7F
triadic
#471A7F #7F471A #1A7F47
tetradic
#471A7F #7F1A1F #527F1A #1A7F7A
square
#471A7F #7F1A1F #527F1A #1A7F7A
split-complementary
#471A7F #7F7A1A #1F7F1A
monochromatic
#0E0519 #2B104C #471A7F #6324B2 #813CD7

Accessibility & contrast

On white

12.19
#471A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#471A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A7F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A7F#FFFFFF#000000##FFFFFF
##471A7F1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#39354C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471a7f;
/* rgb */ color: rgb(71, 26, 127);
/* oklch */ color: oklch(35.0% 0.157 297.8);
Tailwind
colors: {
  custom: {
    50: '#805ca5',
    500: '#471a7f',
    950: '#000000',
  },
}
SCSS
$custom: #471a7f;
$custom-light: #805ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#471a7f",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 266.733,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.3497,
    "c": 0.15653,
    "h": 297.8
  },
  "luminance": 0.03611
}

Semantic roles & 50–950 ramp

primary
#471A7F
secondary
#81B342
accent
#E93F9D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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