#47125B#47125B

#47125B is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.127 H 314.8°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#47125B
RGBrgb(71, 18, 91)
HSLhsl(284, 67%, 21%)
HSVhsv(284, 80%, 36%)
CMYKcmyk(22%, 80.2%, 0%, 64.3%)
CIE-LABlab(18.04, 36.82, -31.95)
CIE-LCHlch(18.04, 48.75, 319.06°)
OKLaboklab(30.99% 0.0894 -0.0901)
OKLCHoklch(30.99% 0.127 314.8)
XYZxyz(4.7029, 2.5277, 10.1357)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47125B #265B12
analogous
#23125B #47125B #5B124B
triadic
#47125B #5B4712 #125B47
tetradic
#47125B #5B2312 #265B12 #124B5B
square
#47125B #5B2312 #265B12 #124B5B
split-complementary
#47125B #4B5B12 #125B23
monochromatic
#14051A #1F0828 #47125B #6F1C8E #9726C1

Accessibility & contrast

On white

13.95
#47125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47125B
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47125B#FFFFFF#000000##FFFFFF
##47125B1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#0E2D59
Tritanopia (blue-blind)
#452236
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #47125b;
/* rgb */ color: rgb(71, 18, 91);
/* oklch */ color: oklch(31.0% 0.127 314.8);
Tailwind
colors: {
  custom: {
    50: '#7d568a',
    500: '#47125b',
    950: '#000000',
  },
}
SCSS
$custom: #47125b;
$custom-light: #7d568a;
$custom-dark: #000000;
JSON
{
  "hex": "#47125b",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 283.562,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30987,
    "c": 0.12695,
    "h": 314.8
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#47125B
secondary
#4F9335
accent
#EA3E6D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #47125B

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

Preview Lab → · Contrast checker → · Palette generator →

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