#47225D#47225D

#47225D is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.2% C 0.105 H 310.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#47225D
RGBrgb(71, 34, 93)
HSLhsl(278, 46%, 25%)
HSVhsv(278, 63%, 36%)
CMYKcmyk(23.7%, 63.4%, 0%, 63.5%)
CIE-LABlab(21.11, 29.20, -28.35)
CIE-LCHlch(21.11, 40.70, 315.84°)
OKLaboklab(33.24% 0.069 -0.0797)
OKLCHoklch(33.24% 0.105 310.9)
XYZxyz(5.1460, 3.2741, 10.7147)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47225D #385D22
analogous
#29225D #47225D #5D2256
triadic
#47225D #5D4722 #225D47
tetradic
#47225D #5D2922 #385D22 #22565D
square
#47225D #5D2922 #385D22 #22565D
split-complementary
#47225D #565D22 #225D29
monochromatic
#110816 #251230 #47225D #69328A #8B43B7

Accessibility & contrast

On white

12.69
#47225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#47225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47225D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47225D#FFFFFF#000000##FFFFFF
##47225D1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D315F
Deuteranopia (green-blind)
#1D335C
Tritanopia (blue-blind)
#442D3C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #47225d;
/* rgb */ color: rgb(71, 34, 93);
/* oklch */ color: oklch(33.2% 0.105 310.9);
Tailwind
colors: {
  custom: {
    50: '#7c5f8b',
    500: '#47225d',
    950: '#000000',
  },
}
SCSS
$custom: #47225d;
$custom-light: #7c5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#47225d",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 277.627,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33238,
    "c": 0.10541,
    "h": 310.9
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#47225D
secondary
#64914A
accent
#D65283
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #47225D

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

Preview Lab → · Contrast checker → · Palette generator →

#47225D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva