#471F7C#471F7C

#471F7C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.147 H 298.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#471F7C
RGBrgb(71, 31, 124)
HSLhsl(266, 60%, 30%)
HSVhsv(266, 75%, 49%)
CMYKcmyk(42.7%, 75%, 0%, 51.4%)
CIE-LABlab(22.91, 39.08, -45.53)
CIE-LCHlch(22.91, 60.00, 310.65°)
OKLaboklab(35.29% 0.0691 -0.1301)
OKLCHoklch(35.29% 0.147 298)
XYZxyz(6.7257, 3.7747, 19.4391)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F7C #547C1F
analogous
#1F267C #471F7C #751F7C
triadic
#471F7C #7C471F #1F7C47
tetradic
#471F7C #7C1F26 #547C1F #1F7C75
square
#471F7C #7C1F26 #547C1F #1F7C75
split-complementary
#471F7C #7C751F #267C1F
monochromatic
#0F071A #2B134B #471F7C #632BAD #8145D0

Accessibility & contrast

On white

11.97
#471F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#471F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F7C
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F7C#FFFFFF#000000##FFFFFF
##471F7C1.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#3A374B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471f7c;
/* rgb */ color: rgb(71, 31, 124);
/* oklch */ color: oklch(35.3% 0.147 298.0);
Tailwind
colors: {
  custom: {
    50: '#805fa3',
    500: '#471f7c',
    950: '#000000',
  },
}
SCSS
$custom: #471f7c;
$custom-light: #805fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#471f7c",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 265.806,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35289,
    "c": 0.14734,
    "h": 298
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#471F7C
secondary
#83AF48
accent
#E3459F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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