#471B8E#471B8E

#471B8E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.172 H 293.1°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#471B8E
RGBrgb(71, 27, 142)
HSLhsl(263, 68%, 33%)
HSVhsv(263, 81%, 56%)
CMYKcmyk(50%, 81%, 0%, 44.3%)
CIE-LABlab(23.92, 45.87, -55.18)
CIE-LCHlch(23.92, 71.76, 309.73°)
OKLaboklab(36.51% 0.0676 -0.1584)
OKLCHoklch(36.51% 0.172 293.1)
XYZxyz(7.8716, 4.0762, 25.9580)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B8E #628E1B
analogous
#1B288E #471B8E #801B8E
triadic
#471B8E #8E471B #1B8E47
tetradic
#471B8E #8E1B28 #628E1B #1B8E80
square
#471B8E #8E1B28 #628E1B #1B8E80
split-complementary
#471B8E #8E801B #288E1B
monochromatic
#140727 #2D115B #471B8E #6125C1 #8047DC

Accessibility & contrast

On white

11.57
#471B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#471B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B8E
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B8E#FFFFFF#000000##FFFFFF
##471B8E1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#303C55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471b8e;
/* rgb */ color: rgb(71, 27, 142);
/* oklch */ color: oklch(36.5% 0.172 293.1);
Tailwind
colors: {
  custom: {
    50: '#825db0',
    500: '#471b8e',
    950: '#000000',
  },
}
SCSS
$custom: #471b8e;
$custom-light: #825db0;
$custom-dark: #000000;
JSON
{
  "hex": "#471b8e",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 262.957,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36509,
    "c": 0.17225,
    "h": 293.1
  },
  "luminance": 0.04076
}

Semantic roles & 50–950 ramp

primary
#471B8E
secondary
#90BE47
accent
#EB3DA8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #471B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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