#471268#471268

#471268 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.140 H 308.1°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#471268
RGBrgb(71, 18, 104)
HSLhsl(277, 70%, 24%)
HSVhsv(277, 83%, 41%)
CMYKcmyk(31.7%, 82.7%, 0%, 59.2%)
CIE-LABlab(19.11, 39.86, -38.83)
CIE-LCHlch(19.11, 55.65, 315.75°)
OKLaboklab(32.07% 0.0867 -0.1103)
OKLCHoklch(32.07% 0.14 308.1)
XYZxyz(5.3130, 2.7718, 13.3491)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471268 #336812
analogous
#1C1268 #471268 #68125E
triadic
#471268 #684712 #126847
tetradic
#471268 #681C12 #336812 #125E68
square
#471268 #681C12 #336812 #125E68
split-complementary
#471268 #5E6812 #12681C
monochromatic
#12051A #230934 #471268 #6B1B9C #8E24D0

Accessibility & contrast

On white

13.51
#471268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471268
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471268#FFFFFF#000000##FFFFFF
##4712681.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#42283D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #471268;
/* rgb */ color: rgb(71, 18, 104);
/* oklch */ color: oklch(32.1% 0.140 308.1);
Tailwind
colors: {
  custom: {
    50: '#7e5794',
    500: '#471268',
    950: '#000000',
  },
}
SCSS
$custom: #471268;
$custom-light: #7e5794;
$custom-dark: #000000;
JSON
{
  "hex": "#471268",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 276.977,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32069,
    "c": 0.14032,
    "h": 308.1
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#471268
secondary
#5FA036
accent
#ED3B7F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #471268

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

Preview Lab → · Contrast checker → · Palette generator →

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