#471F7E#471F7E

#471F7E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.150 H 297.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#471F7E
RGBrgb(71, 31, 126)
HSLhsl(265, 61%, 31%)
HSVhsv(265, 75%, 49%)
CMYKcmyk(43.7%, 75.4%, 0%, 50.6%)
CIE-LABlab(23.09, 39.63, -46.51)
CIE-LCHlch(23.09, 61.10, 310.43°)
OKLaboklab(35.47% 0.0687 -0.133)
OKLCHoklch(35.47% 0.15 297.3)
XYZxyz(6.8534, 3.8258, 20.1120)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F7E #567E1F
analogous
#1F267E #471F7E #761F7E
triadic
#471F7E #7E471F #1F7E47
tetradic
#471F7E #7E1F26 #567E1F #1F7E76
square
#471F7E #7E1F26 #567E1F #1F7E76
split-complementary
#471F7E #7E761F #267E1F
monochromatic
#10071C #2B134D #471F7E #632BAF #8146D1

Accessibility & contrast

On white

11.90
#471F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#471F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F7E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F7E#FFFFFF#000000##FFFFFF
##471F7E1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#39374C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471f7e;
/* rgb */ color: rgb(71, 31, 126);
/* oklch */ color: oklch(35.5% 0.150 297.3);
Tailwind
colors: {
  custom: {
    50: '#805fa4',
    500: '#471f7e',
    950: '#000000',
  },
}
SCSS
$custom: #471f7e;
$custom-light: #805fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#471f7e",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 265.263,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35467,
    "c": 0.1497,
    "h": 297.3
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#471F7E
secondary
#85B148
accent
#E444A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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