#471C83#471C83

#471C83 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.159 H 296.2°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#471C83
RGBrgb(71, 28, 131)
HSLhsl(265, 65%, 31%)
HSVhsv(265, 79%, 51%)
CMYKcmyk(45.8%, 78.6%, 0%, 48.6%)
CIE-LABlab(23.03, 42.44, -49.76)
CIE-LCHlch(23.03, 65.41, 310.46°)
OKLaboklab(35.57% 0.0702 -0.1425)
OKLCHoklch(35.57% 0.159 296.2)
XYZxyz(7.1094, 3.8086, 21.8289)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C83 #58831C
analogous
#1C2483 #471C83 #7A1C83
triadic
#471C83 #83471C #1C8347
tetradic
#471C83 #831C24 #58831C #1C837A
square
#471C83 #831C24 #58831C #1C837A
split-complementary
#471C83 #837A1C #24831C
monochromatic
#10061E #2C1151 #471C83 #6227B5 #8043D7

Accessibility & contrast

On white

11.92
#471C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471C83
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C83#FFFFFF#000000##FFFFFF
##471C831.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#37384F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #471c83;
/* rgb */ color: rgb(71, 28, 131);
/* oklch */ color: oklch(35.6% 0.159 296.2);
Tailwind
colors: {
  custom: {
    50: '#815da8',
    500: '#471c83',
    950: '#000000',
  },
}
SCSS
$custom: #471c83;
$custom-light: #815da8;
$custom-dark: #000000;
JSON
{
  "hex": "#471c83",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 265.049,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35565,
    "c": 0.15889,
    "h": 296.2
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#471C83
secondary
#87B645
accent
#E840A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #471C83

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

Preview Lab → · Contrast checker → · Palette generator →

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