#712174#712174

#712174 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.151 H 326.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#712174
RGBrgb(113, 33, 116)
HSLhsl(298, 56%, 29%)
HSVhsv(298, 72%, 45%)
CMYKcmyk(2.6%, 71.6%, 0%, 54.5%)
CIE-LABlab(29.06, 45.75, -30.22)
CIE-LCHlch(29.06, 54.83, 326.56°)
OKLaboklab(40.82% 0.1261 -0.0838)
OKLCHoklch(40.82% 0.151 326.4)
XYZxyz(10.5061, 5.8601, 17.0974)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712174 #247421
analogous
#482174 #712174 #74214E
triadic
#712174 #747121 #217471
tetradic
#712174 #744821 #247421 #214E74
square
#712174 #744821 #247421 #214E74
split-complementary
#712174 #4E7421 #217448
monochromatic
#170718 #431344 #712174 #9F2FA4 #C545CA

Accessibility & contrast

On white

9.67
#712174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#712174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712174
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712174#FFFFFF#000000##FFFFFF
##7121741.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103E76
Deuteranopia (green-blind)
#344872
Tritanopia (blue-blind)
#742E48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #712174;
/* rgb */ color: rgb(113, 33, 116);
/* oklch */ color: oklch(40.8% 0.151 326.4);
Tailwind
colors: {
  custom: {
    50: '#9d649c',
    500: '#712174',
    950: '#000000',
  },
}
SCSS
$custom: #712174;
$custom-light: #9d649c;
$custom-dark: #000000;
JSON
{
  "hex": "#712174",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 297.831,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40817,
    "c": 0.1514,
    "h": 326.4
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#712174
secondary
#4DA749
accent
#DF494E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712174

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

Preview Lab → · Contrast checker → · Palette generator →

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