#471267#471267

#471267 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.139 H 308.6°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#471267
RGBrgb(71, 18, 103)
HSLhsl(277, 70%, 24%)
HSVhsv(277, 83%, 40%)
CMYKcmyk(31.1%, 82.5%, 0%, 59.6%)
CIE-LABlab(19.02, 39.62, -38.31)
CIE-LCHlch(19.02, 55.11, 315.96°)
OKLaboklab(31.98% 0.0869 -0.1088)
OKLCHoklch(31.98% 0.139 308.6)
XYZxyz(5.2625, 2.7516, 13.0832)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471267 #326712
analogous
#1C1267 #471267 #67125C
triadic
#471267 #674712 #126747
tetradic
#471267 #671C12 #326712 #125C67
square
#471267 #671C12 #326712 #125C67
split-complementary
#471267 #5C6712 #12671C
monochromatic
#12051A #230933 #471267 #6B1B9B #8F24CF

Accessibility & contrast

On white

13.55
#471267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#471267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471267
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471267#FFFFFF#000000##FFFFFF
##4712671.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#42273C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #471267;
/* rgb */ color: rgb(71, 18, 103);
/* oklch */ color: oklch(32.0% 0.139 308.6);
Tailwind
colors: {
  custom: {
    50: '#7e5793',
    500: '#471267',
    950: '#000000',
  },
}
SCSS
$custom: #471267;
$custom-light: #7e5793;
$custom-dark: #000000;
JSON
{
  "hex": "#471267",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 277.412,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31983,
    "c": 0.13928,
    "h": 308.6
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#471267
secondary
#5D9F36
accent
#ED3B7E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #471267

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

Preview Lab → · Contrast checker → · Palette generator →

#471267 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva