#471B68#471B68

#471B68 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.129 H 306.7°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#471B68
RGBrgb(71, 27, 104)
HSLhsl(274, 59%, 26%)
HSVhsv(274, 74%, 41%)
CMYKcmyk(31.7%, 74%, 0%, 59.2%)
CIE-LABlab(20.53, 35.80, -36.52)
CIE-LCHlch(20.53, 51.14, 314.43°)
OKLaboklab(33.08% 0.0773 -0.1036)
OKLCHoklch(33.08% 0.129 306.7)
XYZxyz(5.4886, 3.1230, 13.4077)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B68 #3C681B
analogous
#201B68 #471B68 #681B62
triadic
#471B68 #68471B #1B6847
tetradic
#471B68 #68201B #3C681B #1B6268
square
#471B68 #68201B #3C681B #1B6268
split-complementary
#471B68 #62681B #1B6820
monochromatic
#110618 #260E37 #471B68 #682899 #8934C9

Accessibility & contrast

On white

12.93
#471B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#471B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471B68
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B68#FFFFFF#000000##FFFFFF
##471B681.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#033266
Tritanopia (blue-blind)
#412C3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #471b68;
/* rgb */ color: rgb(71, 27, 104);
/* oklch */ color: oklch(33.1% 0.129 306.7);
Tailwind
colors: {
  custom: {
    50: '#7e5b94',
    500: '#471b68',
    950: '#000000',
  },
}
SCSS
$custom: #471b68;
$custom-light: #7e5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#471b68",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 274.286,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33076,
    "c": 0.12929,
    "h": 306.7
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#471B68
secondary
#699D42
accent
#E24689
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #471B68

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

Preview Lab → · Contrast checker → · Palette generator →

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