#471273#471273

#471273 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.152 H 303.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#471273
RGBrgb(71, 18, 115)
HSLhsl(273, 73%, 26%)
HSVhsv(273, 84%, 45%)
CMYKcmyk(38.3%, 84.3%, 0%, 54.9%)
CIE-LABlab(20.08, 42.54, -44.38)
CIE-LCHlch(20.08, 61.48, 313.78°)
OKLaboklab(33.06% 0.0835 -0.1267)
OKLCHoklch(33.06% 0.152 303.4)
XYZxyz(5.9086, 3.0100, 16.4860)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471273 #3E7312
analogous
#171273 #471273 #73126E
triadic
#471273 #734712 #127347
tetradic
#471273 #731712 #3E7312 #126E73
square
#471273 #731712 #3E7312 #126E73
split-complementary
#471273 #6E7312 #127317
monochromatic
#10041A #260A3E #471273 #681AA8 #8823DD

Accessibility & contrast

On white

13.11
#471273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#471273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471273
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471273#FFFFFF#000000##FFFFFF
##4712731.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#3E2D43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #471273;
/* rgb */ color: rgb(71, 18, 115);
/* oklch */ color: oklch(33.1% 0.152 303.4);
Tailwind
colors: {
  custom: {
    50: '#7f589c',
    500: '#471273',
    950: '#000000',
  },
}
SCSS
$custom: #471273;
$custom-light: #7f589c;
$custom-dark: #000000;
JSON
{
  "hex": "#471273",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 272.784,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33056,
    "c": 0.15171,
    "h": 303.4
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#471273
secondary
#6BAA37
accent
#F0388B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471273

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

Preview Lab → · Contrast checker → · Palette generator →

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