#472276#472276

#472276 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.136 H 299.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#472276
RGBrgb(71, 34, 118)
HSLhsl(266, 55%, 30%)
HSVhsv(266, 71%, 46%)
CMYKcmyk(39.8%, 71.2%, 0%, 53.7%)
CIE-LABlab(22.97, 35.86, -41.61)
CIE-LCHlch(22.97, 54.93, 310.76°)
OKLaboklab(35.17% 0.067 -0.1186)
OKLCHoklch(35.17% 0.136 299.5)
XYZxyz(6.4398, 3.7916, 17.5286)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472276 #517622
analogous
#222776 #472276 #712276
triadic
#472276 #764722 #227647
tetradic
#472276 #762227 #517622 #227671
square
#472276 #762227 #517622 #227671
split-complementary
#472276 #767122 #277622
monochromatic
#0E0718 #2A1446 #472276 #6430A6 #8148CA

Accessibility & contrast

On white

11.94
#472276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#472276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472276
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472276#FFFFFF#000000##FFFFFF
##4722761.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#3C3649
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #472276;
/* rgb */ color: rgb(71, 34, 118);
/* oklch */ color: oklch(35.2% 0.136 299.5);
Tailwind
colors: {
  custom: {
    50: '#7f609e',
    500: '#472276',
    950: '#000000',
  },
}
SCSS
$custom: #472276;
$custom-light: #7f609e;
$custom-dark: #000000;
JSON
{
  "hex": "#472276",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 266.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35173,
    "c": 0.13626,
    "h": 299.5
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#472276
secondary
#80A94B
accent
#DF499D
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #472276

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

Preview Lab → · Contrast checker → · Palette generator →

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