#712179#712179

#712179 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.156 H 324.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#712179
RGBrgb(113, 33, 121)
HSLhsl(295, 57%, 30%)
HSVhsv(295, 73%, 47%)
CMYKcmyk(6.6%, 72.7%, 0%, 52.5%)
CIE-LABlab(29.36, 46.69, -32.90)
CIE-LCHlch(29.36, 57.12, 324.83°)
OKLaboklab(41.13% 0.1261 -0.0916)
OKLCHoklch(41.13% 0.156 324)
XYZxyz(10.8048, 5.9796, 18.6705)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712179 #297921
analogous
#452179 #712179 #792155
triadic
#712179 #797121 #217971
tetradic
#712179 #794521 #297921 #215579
square
#712179 #794521 #297921 #215579
split-complementary
#712179 #557921 #217945
monochromatic
#170719 #441449 #712179 #9E2EA9 #C147CD

Accessibility & contrast

On white

9.56
#712179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#712179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712179
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712179#FFFFFF#000000##FFFFFF
##7121791.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073F7B
Deuteranopia (green-blind)
#314877
Tritanopia (blue-blind)
#73304A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #712179;
/* rgb */ color: rgb(113, 33, 121);
/* oklch */ color: oklch(41.1% 0.156 324.0);
Tailwind
colors: {
  custom: {
    50: '#9d64a0',
    500: '#712179',
    950: '#000000',
  },
}
SCSS
$custom: #712179;
$custom-light: #9d64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#712179",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 294.545,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41133,
    "c": 0.15584,
    "h": 324
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#712179
secondary
#53AC4A
accent
#E04755
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060F
muted
#7E7A7E

Preview Lab

Preview with #712179

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

Preview Lab → · Contrast checker → · Palette generator →

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