#471B6E#471B6E

#471B6E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.136 H 304.1°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#471B6E
RGBrgb(71, 27, 110)
HSLhsl(272, 61%, 27%)
HSVhsv(272, 75%, 43%)
CMYKcmyk(35.5%, 75.5%, 0%, 56.9%)
CIE-LABlab(21.02, 37.35, -39.63)
CIE-LCHlch(21.02, 54.46, 313.30°)
OKLaboklab(33.57% 0.0763 -0.1128)
OKLCHoklch(33.57% 0.136 304.1)
XYZxyz(5.8043, 3.2493, 15.0702)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B6E #426E1B
analogous
#1D1B6E #471B6E #6E1B6C
triadic
#471B6E #6E471B #1B6E47
tetradic
#471B6E #6E1D1B #426E1B #1B6C6E
square
#471B6E #6E1D1B #426E1B #1B6C6E
split-complementary
#471B6E #6C6E1B #1B6E1D
monochromatic
#100619 #270F3D #471B6E #67279F #8636CE

Accessibility & contrast

On white

12.73
#471B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#471B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B6E
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B6E#FFFFFF#000000##FFFFFF
##471B6E1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#3F2F42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #471b6e;
/* rgb */ color: rgb(71, 27, 110);
/* oklch */ color: oklch(33.6% 0.136 304.1);
Tailwind
colors: {
  custom: {
    50: '#7e5c98',
    500: '#471b6e',
    950: '#000000',
  },
}
SCSS
$custom: #471b6e;
$custom-light: #7e5c98;
$custom-dark: #000000;
JSON
{
  "hex": "#471b6e",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 271.807,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33574,
    "c": 0.13615,
    "h": 304.1
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#471B6E
secondary
#6FA342
accent
#E4448F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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