#47125D#47125D

#47125D is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.1% C 0.129 H 313.7°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#47125D
RGBrgb(71, 18, 93)
HSLhsl(282, 68%, 22%)
HSVhsv(282, 81%, 36%)
CMYKcmyk(23.7%, 80.6%, 0%, 63.5%)
CIE-LABlab(18.20, 37.28, -33.03)
CIE-LCHlch(18.20, 49.80, 318.46°)
OKLaboklab(31.15% 0.0891 -0.0933)
OKLCHoklch(31.15% 0.129 313.7)
XYZxyz(4.7903, 2.5627, 10.5961)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47125D #285D12
analogous
#22125D #47125D #5D124E
triadic
#47125D #5D4712 #125D47
tetradic
#47125D #5D2212 #285D12 #124E5D
square
#47125D #5D2212 #285D12 #124E5D
split-complementary
#47125D #4E5D12 #125D22
monochromatic
#14051A #20082A #47125D #6E1C90 #9526C4

Accessibility & contrast

On white

13.88
#47125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#47125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47125D
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47125D#FFFFFF#000000##FFFFFF
##47125D1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#0B2E5B
Tritanopia (blue-blind)
#452337
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #47125d;
/* rgb */ color: rgb(71, 18, 93);
/* oklch */ color: oklch(31.1% 0.129 313.7);
Tailwind
colors: {
  custom: {
    50: '#7d568b',
    500: '#47125d',
    950: '#000000',
  },
}
SCSS
$custom: #47125d;
$custom-light: #7d568b;
$custom-dark: #000000;
JSON
{
  "hex": "#47125d",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 282.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31147,
    "c": 0.129,
    "h": 313.7
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#47125D
secondary
#529535
accent
#EA3D70
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47125D

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

Preview Lab → · Contrast checker → · Palette generator →

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