#472075#472075

#472075 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.138 H 300.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#472075
RGBrgb(71, 32, 117)
HSLhsl(268, 57%, 29%)
HSVhsv(268, 73%, 46%)
CMYKcmyk(39.3%, 72.6%, 0%, 54.1%)
CIE-LABlab(22.50, 36.66, -41.73)
CIE-LCHlch(22.50, 55.54, 311.30°)
OKLaboklab(34.81% 0.0695 -0.119)
OKLCHoklch(34.81% 0.138 300.3)
XYZxyz(6.3251, 3.6569, 17.1988)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472075 #4E7520
analogous
#202475 #472075 #722075
triadic
#472075 #754720 #207547
tetradic
#472075 #752024 #4E7520 #207572
square
#472075 #752024 #4E7520 #207572
split-complementary
#472075 #757220 #247520
monochromatic
#0F0718 #2A1345 #472075 #642DA5 #8244CC

Accessibility & contrast

On white

12.13
#472075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#472075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472075
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472075#FFFFFF#000000##FFFFFF
##4720751.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#3D3448
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #472075;
/* rgb */ color: rgb(71, 32, 117);
/* oklch */ color: oklch(34.8% 0.138 300.3);
Tailwind
colors: {
  custom: {
    50: '#7f5f9d',
    500: '#472075',
    950: '#000000',
  },
}
SCSS
$custom: #472075;
$custom-light: #7f5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#472075",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 267.529,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34813,
    "c": 0.13777,
    "h": 300.3
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

primary
#472075
secondary
#7CA848
accent
#E0479A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #472075

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

Preview Lab → · Contrast checker → · Palette generator →

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