#471B8C#471B8C

#471B8C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.170 H 293.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#471B8C
RGBrgb(71, 27, 140)
HSLhsl(263, 68%, 33%)
HSVhsv(263, 81%, 55%)
CMYKcmyk(49.3%, 80.7%, 0%, 45.1%)
CIE-LABlab(23.73, 45.33, -54.26)
CIE-LCHlch(23.73, 70.70, 309.88°)
OKLaboklab(36.31% 0.0683 -0.1557)
OKLCHoklch(36.31% 0.17 293.7)
XYZxyz(7.7228, 4.0167, 25.1742)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B8C #608C1B
analogous
#1B278C #471B8C #801B8C
triadic
#471B8C #8C471B #1B8C47
tetradic
#471B8C #8C1B27 #608C1B #1B8C80
square
#471B8C #8C1B27 #608C1B #1B8C80
split-complementary
#471B8C #8C801B #278C1B
monochromatic
#130725 #2D1159 #471B8C #6125BF #8046DB

Accessibility & contrast

On white

11.64
#471B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#471B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B8C
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B8C#FFFFFF#000000##FFFFFF
##471B8C1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#323B53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #471b8c;
/* rgb */ color: rgb(71, 27, 140);
/* oklch */ color: oklch(36.3% 0.170 293.7);
Tailwind
colors: {
  custom: {
    50: '#825daf',
    500: '#471b8c',
    950: '#000000',
  },
}
SCSS
$custom: #471b8c;
$custom-light: #825daf;
$custom-dark: #000000;
JSON
{
  "hex": "#471b8c",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 263.363,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36314,
    "c": 0.17002,
    "h": 293.7
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#471B8C
secondary
#8FBD46
accent
#EB3DA7
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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