#472575#472575

#472575 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.131 H 299.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#472575
RGBrgb(71, 37, 117)
HSLhsl(266, 52%, 30%)
HSVhsv(266, 68%, 46%)
CMYKcmyk(39.3%, 68.4%, 0%, 54.1%)
CIE-LABlab(23.50, 33.92, -40.12)
CIE-LCHlch(23.50, 52.53, 310.21°)
OKLaboklab(35.52% 0.0637 -0.1142)
OKLCHoklch(35.52% 0.131 299.1)
XYZxyz(6.4702, 3.9470, 17.2471)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472575 #537525
analogous
#252B75 #472575 #6F2575
triadic
#472575 #754725 #257547
tetradic
#472575 #75252B #537525 #25756F
square
#472575 #75252B #537525 #25756F
split-complementary
#472575 #756F25 #2B7525
monochromatic
#0F0818 #2B1647 #472575 #6334A3 #814EC7

Accessibility & contrast

On white

11.74
#472575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#472575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472575
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472575#FFFFFF#000000##FFFFFF
##4725751.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#3C3749
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #472575;
/* rgb */ color: rgb(71, 37, 117);
/* oklch */ color: oklch(35.5% 0.131 299.1);
Tailwind
colors: {
  custom: {
    50: '#7e629d',
    500: '#472575',
    950: '#000000',
  },
}
SCSS
$custom: #472575;
$custom-light: #7e629d;
$custom-dark: #000000;
JSON
{
  "hex": "#472575",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 265.5,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35524,
    "c": 0.13078,
    "h": 299.1
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#472575
secondary
#82A84E
accent
#DB4C9F
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #472575

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

Preview Lab → · Contrast checker → · Palette generator →

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