#712478#712478

#712478 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.151 H 324.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#712478
RGBrgb(113, 36, 120)
HSLhsl(295, 54%, 31%)
HSVhsv(295, 70%, 47%)
CMYKcmyk(5.8%, 70%, 0%, 52.9%)
CIE-LABlab(29.74, 45.27, -31.67)
CIE-LCHlch(29.74, 55.25, 325.02°)
OKLaboklab(41.38% 0.1227 -0.0881)
OKLCHoklch(41.38% 0.151 324.3)
XYZxyz(10.8308, 6.1292, 18.3782)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712478 #2B7824
analogous
#472478 #712478 #782455
triadic
#712478 #787124 #247871
tetradic
#712478 #784724 #2B7824 #245578
square
#712478 #784724 #2B7824 #245578
split-complementary
#712478 #557824 #247847
monochromatic
#18081A #451649 #712478 #9D32A7 #BF4DCA

Accessibility & contrast

On white

9.43
#712478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#712478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712478
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712478#FFFFFF#000000##FFFFFF
##7124781.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10407A
Deuteranopia (green-blind)
#334976
Tritanopia (blue-blind)
#73314B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #712478;
/* rgb */ color: rgb(113, 36, 120);
/* oklch */ color: oklch(41.4% 0.151 324.3);
Tailwind
colors: {
  custom: {
    50: '#9d669f',
    500: '#712478',
    950: '#000000',
  },
}
SCSS
$custom: #712478;
$custom-light: #9d669f;
$custom-dark: #000000;
JSON
{
  "hex": "#712478",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 120
  },
  "hsl": {
    "h": 295,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41383,
    "c": 0.15102,
    "h": 324.3
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#712478
secondary
#55AB4D
accent
#DD4B57
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712478

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

Preview Lab → · Contrast checker → · Palette generator →

#712478 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva