#47125F#47125F

#47125F is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.131 H 312.6°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#47125F
RGBrgb(71, 18, 95)
HSLhsl(281, 68%, 22%)
HSVhsv(281, 81%, 37%)
CMYKcmyk(25.3%, 81.1%, 0%, 62.7%)
CIE-LABlab(18.36, 37.74, -34.10)
CIE-LCHlch(18.36, 50.86, 317.90°)
OKLaboklab(31.31% 0.0887 -0.0965)
OKLCHoklch(31.31% 0.131 312.6)
XYZxyz(4.8800, 2.5986, 11.0688)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47125F #2A5F12
analogous
#21125F #47125F #5F1251
triadic
#47125F #5F4712 #125F47
tetradic
#47125F #5F2112 #2A5F12 #12515F
square
#47125F #5F2112 #2A5F12 #12515F
split-complementary
#47125F #515F12 #125F21
monochromatic
#13051A #21082C #47125F #6D1C92 #9425C6

Accessibility & contrast

On white

13.82
#47125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47125F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47125F#FFFFFF#000000##FFFFFF
##47125F1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#072E5D
Tritanopia (blue-blind)
#442438
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #47125f;
/* rgb */ color: rgb(71, 18, 95);
/* oklch */ color: oklch(31.3% 0.131 312.6);
Tailwind
colors: {
  custom: {
    50: '#7e568d',
    500: '#47125f',
    950: '#000000',
  },
}
SCSS
$custom: #47125f;
$custom-light: #7e568d;
$custom-dark: #000000;
JSON
{
  "hex": "#47125f",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 281.299,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31309,
    "c": 0.13104,
    "h": 312.6
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#47125F
secondary
#549736
accent
#EB3D73
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47125F

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

Preview Lab → · Contrast checker → · Palette generator →

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