#471A7C#471A7C

#471A7C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.153 H 298.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#471A7C
RGBrgb(71, 26, 124)
HSLhsl(268, 65%, 29%)
HSVhsv(268, 79%, 49%)
CMYKcmyk(42.7%, 79%, 0%, 51.4%)
CIE-LABlab(22.07, 41.49, -46.91)
CIE-LCHlch(22.07, 62.63, 311.49°)
OKLaboklab(34.69% 0.0739 -0.1341)
OKLCHoklch(34.69% 0.153 298.9)
XYZxyz(6.6051, 3.5335, 19.3989)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A7C #4F7C1A
analogous
#1A1E7C #471A7C #781A7C
triadic
#471A7C #7C471A #1A7C47
tetradic
#471A7C #7C1A1E #4F7C1A #1A7C78
square
#471A7C #7C1A1E #4F7C1A #1A7C78
split-complementary
#471A7C #7C781A #1E7C1A
monochromatic
#0E0519 #2A0F49 #471A7C #6425AF #823BD6

Accessibility & contrast

On white

12.30
#471A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#471A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A7C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A7C#FFFFFF#000000##FFFFFF
##471A7C1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#3A344A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471a7c;
/* rgb */ color: rgb(71, 26, 124);
/* oklch */ color: oklch(34.7% 0.153 298.9);
Tailwind
colors: {
  custom: {
    50: '#805ca3',
    500: '#471a7c',
    950: '#000000',
  },
}
SCSS
$custom: #471a7c;
$custom-light: #805ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#471a7c",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 267.551,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34693,
    "c": 0.15318,
    "h": 298.9
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#471A7C
secondary
#7DB042
accent
#E8409B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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