#47125C#47125C

#47125C is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.1% C 0.128 H 314.2°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#47125C
RGBrgb(71, 18, 92)
HSLhsl(283, 67%, 22%)
HSVhsv(283, 80%, 36%)
CMYKcmyk(22.8%, 80.4%, 0%, 63.9%)
CIE-LABlab(18.12, 37.05, -32.49)
CIE-LCHlch(18.12, 49.28, 318.75°)
OKLaboklab(31.07% 0.0893 -0.0917)
OKLCHoklch(31.07% 0.128 314.2)
XYZxyz(4.7463, 2.5451, 10.3644)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47125C #275C12
analogous
#22125C #47125C #5C124C
triadic
#47125C #5C4712 #125C47
tetradic
#47125C #5C2212 #275C12 #124C5C
square
#47125C #5C2212 #275C12 #124C5C
split-complementary
#47125C #4C5C12 #125C22
monochromatic
#14051A #1F0829 #47125C #6F1C8F #9626C2

Accessibility & contrast

On white

13.92
#47125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47125C
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47125C#FFFFFF#000000##FFFFFF
##47125C1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#0D2E5A
Tritanopia (blue-blind)
#452336
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #47125c;
/* rgb */ color: rgb(71, 18, 92);
/* oklch */ color: oklch(31.1% 0.128 314.2);
Tailwind
colors: {
  custom: {
    50: '#7d568b',
    500: '#47125c',
    950: '#000000',
  },
}
SCSS
$custom: #47125c;
$custom-light: #7d568b;
$custom-dark: #000000;
JSON
{
  "hex": "#47125c",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 282.973,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31067,
    "c": 0.12798,
    "h": 314.2
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#47125C
secondary
#509435
accent
#EA3E6F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47125C

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

Preview Lab → · Contrast checker → · Palette generator →

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