#712170#712170

#712170 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.148 H 328.4°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#712170
RGBrgb(113, 33, 112)
HSLhsl(301, 55%, 29%)
HSVhsv(301, 71%, 44%)
CMYKcmyk(0%, 70.8%, 0.9%, 55.7%)
CIE-LABlab(28.82, 45.01, -28.04)
CIE-LCHlch(28.82, 53.03, 328.08°)
OKLaboklab(40.57% 0.126 -0.0775)
OKLCHoklch(40.57% 0.148 328.4)
XYZxyz(10.2784, 5.7690, 15.8983)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712170 #217122
analogous
#4A2171 #712170 #712148
triadic
#712170 #707121 #217071
tetradic
#712170 #714A21 #217122 #214871
square
#712170 #714A21 #217122 #214871
split-complementary
#712170 #487121 #21714A
monochromatic
#180717 #421341 #712170 #A02F9F #C844C7

Accessibility & contrast

On white

9.75
#712170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#712170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712170
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712170#FFFFFF#000000##FFFFFF
##7121701.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D72
Deuteranopia (green-blind)
#36486E
Tritanopia (blue-blind)
#752C46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #712170;
/* rgb */ color: rgb(113, 33, 112);
/* oklch */ color: oklch(40.6% 0.148 328.4);
Tailwind
colors: {
  custom: {
    50: '#9d6499',
    500: '#712170',
    950: '#000000',
  },
}
SCSS
$custom: #712170;
$custom-light: #9d6499;
$custom-dark: #000000;
JSON
{
  "hex": "#712170",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 300.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40572,
    "c": 0.1479,
    "h": 328.4
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#712170
secondary
#49A54A
accent
#DE4C4A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712170

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

Preview Lab → · Contrast checker → · Palette generator →

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