#472297#472297

#472297 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.176 H 289.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#472297
RGBrgb(71, 34, 151)
HSLhsl(259, 63%, 36%)
HSVhsv(259, 77%, 59%)
CMYKcmyk(53%, 77.5%, 0%, 40.8%)
CIE-LABlab(25.91, 45.14, -57.47)
CIE-LCHlch(25.91, 73.08, 308.15°)
OKLaboklab(38.17% 0.0595 -0.1652)
OKLCHoklch(38.17% 0.176 289.8)
XYZxyz(8.7549, 4.7176, 29.7214)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472297 #729722
analogous
#223897 #472297 #822297
triadic
#472297 #974722 #229747
tetradic
#472297 #972238 #729722 #229782
square
#472297 #972238 #729722 #229782
split-complementary
#472297 #978222 #389722
monochromatic
#180C33 #301765 #472297 #5E2DC9 #825ADA

Accessibility & contrast

On white

10.80
#472297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#472297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472297
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472297#FFFFFF#000000##FFFFFF
##4722971.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#29435B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472297;
/* rgb */ color: rgb(71, 34, 151);
/* oklch */ color: oklch(38.2% 0.176 289.8);
Tailwind
colors: {
  custom: {
    50: '#8362b7',
    500: '#472297',
    950: '#000000',
  },
}
SCSS
$custom: #472297;
$custom-light: #8362b7;
$custom-dark: #000000;
JSON
{
  "hex": "#472297",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 258.974,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.17556,
    "h": 289.8
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#472297
secondary
#9DBE57
accent
#E642B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #472297

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

Preview Lab → · Contrast checker → · Palette generator →

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