#472275#472275

#472275 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.135 H 299.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#472275
RGBrgb(71, 34, 117)
HSLhsl(267, 55%, 30%)
HSVhsv(267, 71%, 46%)
CMYKcmyk(39.3%, 70.9%, 0%, 54.1%)
CIE-LABlab(22.89, 35.59, -41.10)
CIE-LCHlch(22.89, 54.37, 310.89°)
OKLaboklab(35.09% 0.0672 -0.1171)
OKLCHoklch(35.09% 0.135 299.8)
XYZxyz(6.3807, 3.7679, 17.2173)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472275 #507522
analogous
#222775 #472275 #712275
triadic
#472275 #754722 #227547
tetradic
#472275 #752227 #507522 #227571
square
#472275 #752227 #507522 #227571
split-complementary
#472275 #757122 #277522
monochromatic
#0E0718 #2A1446 #472275 #6430A4 #8248CA

Accessibility & contrast

On white

11.98
#472275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#472275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472275
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472275#FFFFFF#000000##FFFFFF
##4722751.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#3D3548
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #472275;
/* rgb */ color: rgb(71, 34, 117);
/* oklch */ color: oklch(35.1% 0.135 299.8);
Tailwind
colors: {
  custom: {
    50: '#7f609d',
    500: '#472275',
    950: '#000000',
  },
}
SCSS
$custom: #472275;
$custom-light: #7f609d;
$custom-dark: #000000;
JSON
{
  "hex": "#472275",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 266.747,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35089,
    "c": 0.13504,
    "h": 299.8
  },
  "luminance": 0.03768
}

Semantic roles & 50–950 ramp

primary
#472275
secondary
#7EA84B
accent
#DE499C
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #472275

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

Preview Lab → · Contrast checker → · Palette generator →

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