#47125E#47125E

#47125E is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.130 H 313.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#47125E
RGBrgb(71, 18, 94)
HSLhsl(282, 68%, 22%)
HSVhsv(282, 81%, 37%)
CMYKcmyk(24.5%, 80.9%, 0%, 63.1%)
CIE-LABlab(18.28, 37.51, -33.57)
CIE-LCHlch(18.28, 50.34, 318.17°)
OKLaboklab(31.23% 0.0889 -0.0949)
OKLCHoklch(31.23% 0.13 313.1)
XYZxyz(4.8349, 2.5805, 10.8309)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47125E #295E12
analogous
#21125E #47125E #5E124F
triadic
#47125E #5E4712 #125E47
tetradic
#47125E #5E2112 #295E12 #124F5E
square
#47125E #5E2112 #295E12 #124F5E
split-complementary
#47125E #4F5E12 #125E21
monochromatic
#13051A #20082B #47125E #6E1C91 #9526C5

Accessibility & contrast

On white

13.85
#47125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#47125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47125E
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47125E#FFFFFF#000000##FFFFFF
##47125E1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#092E5C
Tritanopia (blue-blind)
#442337
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #47125e;
/* rgb */ color: rgb(71, 18, 94);
/* oklch */ color: oklch(31.2% 0.130 313.1);
Tailwind
colors: {
  custom: {
    50: '#7d568c',
    500: '#47125e',
    950: '#000000',
  },
}
SCSS
$custom: #47125e;
$custom-light: #7d568c;
$custom-dark: #000000;
JSON
{
  "hex": "#47125e",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 281.842,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31228,
    "c": 0.13002,
    "h": 313.1
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#47125E
secondary
#539635
accent
#EB3D72
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47125E

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

Preview Lab → · Contrast checker → · Palette generator →

#47125E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva