#471F74#471F74

#471F74 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.138 H 300.9°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#471F74
RGBrgb(71, 31, 116)
HSLhsl(268, 58%, 29%)
HSVhsv(268, 73%, 45%)
CMYKcmyk(38.8%, 73.3%, 0%, 54.5%)
CIE-LABlab(22.23, 36.91, -41.53)
CIE-LCHlch(22.23, 55.56, 311.63°)
OKLaboklab(34.6% 0.0708 -0.1184)
OKLCHoklch(34.6% 0.138 300.9)
XYZxyz(6.2401, 3.5805, 16.8820)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F74 #4C741F
analogous
#1F2274 #471F74 #721F74
triadic
#471F74 #74471F #1F7447
tetradic
#471F74 #741F22 #4C741F #1F7472
square
#471F74 #741F22 #4C741F #1F7472
split-complementary
#471F74 #74721F #22741F
monochromatic
#0F0618 #291244 #471F74 #652CA4 #8341CC

Accessibility & contrast

On white

12.24
#471F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471F74
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F74#FFFFFF#000000##FFFFFF
##471F741.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#3D3347
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471f74;
/* rgb */ color: rgb(71, 31, 116);
/* oklch */ color: oklch(34.6% 0.138 300.9);
Tailwind
colors: {
  custom: {
    50: '#7f5e9d',
    500: '#471f74',
    950: '#000000',
  },
}
SCSS
$custom: #471f74;
$custom-light: #7f5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#471f74",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 268.235,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34595,
    "c": 0.13791,
    "h": 300.9
  },
  "luminance": 0.03581
}

Semantic roles & 50–950 ramp

primary
#471F74
secondary
#7AA847
accent
#E14798
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #471F74

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

Preview Lab → · Contrast checker → · Palette generator →

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