#471C94#471C94

#471C94 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.178 H 291.4°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#471C94
RGBrgb(71, 28, 148)
HSLhsl(262, 68%, 35%)
HSVhsv(262, 81%, 58%)
CMYKcmyk(52%, 81.1%, 0%, 42%)
CIE-LABlab(24.66, 47.06, -57.68)
CIE-LCHlch(24.66, 74.44, 309.21°)
OKLaboklab(37.2% 0.0649 -0.1657)
OKLCHoklch(37.2% 0.178 291.4)
XYZxyz(8.3576, 4.3079, 28.4024)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C94 #69941C
analogous
#1C2D94 #471C94 #831C94
triadic
#471C94 #94471C #1C9447
tetradic
#471C94 #941C2D #69941C #1C9483
square
#471C94 #941C2D #69941C #1C9483
split-complementary
#471C94 #94831C #2D941C
monochromatic
#16092D #2E1261 #471C94 #6026C7 #814DDD

Accessibility & contrast

On white

11.28
#471C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#471C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471C94
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C94#FFFFFF#000000##FFFFFF
##471C941.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#2C3F58
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #471c94;
/* rgb */ color: rgb(71, 28, 148);
/* oklch */ color: oklch(37.2% 0.178 291.4);
Tailwind
colors: {
  custom: {
    50: '#835eb5',
    500: '#471c94',
    950: '#000000',
  },
}
SCSS
$custom: #471c94;
$custom-light: #835eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#471c94",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 261.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37204,
    "c": 0.178,
    "h": 291.4
  },
  "luminance": 0.04308
}

Semantic roles & 50–950 ramp

primary
#471C94
secondary
#96C04C
accent
#EB3DAD
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471C94

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

Preview Lab → · Contrast checker → · Palette generator →

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