#471E9B#471E9B

#471E9B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.184 H 289.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#471E9B
RGBrgb(71, 30, 155)
HSLhsl(260, 68%, 36%)
HSVhsv(260, 81%, 61%)
CMYKcmyk(54.2%, 80.6%, 0%, 39.2%)
CIE-LABlab(25.67, 48.11, -60.33)
CIE-LCHlch(25.67, 77.17, 308.57°)
OKLaboklab(38.11% 0.0612 -0.1735)
OKLCHoklch(38.11% 0.184 289.4)
XYZxyz(8.9775, 4.6343, 31.4255)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E9B #729B1E
analogous
#1E349B #471E9B #861E9B
triadic
#471E9B #9B471E #1E9B47
tetradic
#471E9B #9B1E34 #729B1E #1E9B86
square
#471E9B #9B1E34 #729B1E #1E9B86
split-complementary
#471E9B #9B861E #349B1E
monochromatic
#180A34 #301468 #471E9B #5E28CE #8255DE

Accessibility & contrast

On white

10.90
#471E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#471E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E9B
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E9B#FFFFFF#000000##FFFFFF
##471E9B1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#26435D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #471e9b;
/* rgb */ color: rgb(71, 30, 155);
/* oklch */ color: oklch(38.1% 0.184 289.4);
Tailwind
colors: {
  custom: {
    50: '#8460ba',
    500: '#471e9b',
    950: '#000000',
  },
}
SCSS
$custom: #471e9b;
$custom-light: #8460ba;
$custom-dark: #000000;
JSON
{
  "hex": "#471e9b",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 259.68,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38111,
    "c": 0.18399,
    "h": 289.4
  },
  "luminance": 0.04635
}

Semantic roles & 50–950 ramp

primary
#471E9B
secondary
#9DC253
accent
#EA3DB2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #471E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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