#47123F#47123F

#47123F is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.100 H 334.4°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#47123F
RGBrgb(71, 18, 63)
HSLhsl(309, 60%, 17%)
HSVhsv(309, 75%, 28%)
CMYKcmyk(0%, 74.6%, 11.3%, 72.2%)
CIE-LABlab(16.16, 31.01, -15.77)
CIE-LCHlch(16.16, 34.79, 333.04°)
OKLaboklab(29.04% 0.09 -0.0431)
OKLCHoklch(29.04% 0.1 334.4)
XYZxyz(3.7121, 2.1314, 4.9176)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47123F #12471A
analogous
#351247 #47123F #471224
triadic
#47123F #3F4712 #123F47
tetradic
#47123F #473512 #12471A #122447
square
#47123F #473512 #12471A #122447
split-complementary
#47123F #244712 #124735
monochromatic
#180616 #180616 #47123F #781E6A #A92B96

Accessibility & contrast

On white

14.72
#47123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#47123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47123F
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47123F#FFFFFF#000000##FFFFFF
##47123F1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112340
Deuteranopia (green-blind)
#232B3E
Tritanopia (blue-blind)
#4B1626
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #47123f;
/* rgb */ color: rgb(71, 18, 63);
/* oklch */ color: oklch(29.0% 0.100 334.4);
Tailwind
colors: {
  custom: {
    50: '#7c5574',
    500: '#47123f',
    950: '#000000',
  },
}
SCSS
$custom: #47123f;
$custom-light: #7c5574;
$custom-dark: #000000;
JSON
{
  "hex": "#47123f",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 309.057,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29035,
    "c": 0.0998,
    "h": 334.4
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#47123F
secondary
#358040
accent
#E35D45
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #47123F

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

Preview Lab → · Contrast checker → · Palette generator →

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