#712166#712166

#712166 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.0% C 0.140 H 333.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#712166
RGBrgb(113, 33, 102)
HSLhsl(308, 55%, 29%)
HSVhsv(308, 71%, 44%)
CMYKcmyk(0%, 70.8%, 9.7%, 55.7%)
CIE-LABlab(28.27, 43.26, -22.47)
CIE-LCHlch(28.27, 48.75, 332.55°)
OKLaboklab(39.99% 0.1252 -0.0614)
OKLCHoklch(39.99% 0.14 333.9)
XYZxyz(9.7522, 5.5585, 13.1271)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712166 #21712C
analogous
#542171 #712166 #71213E
triadic
#712166 #667121 #216671
tetradic
#712166 #715421 #21712C #213E71
square
#712166 #715421 #21712C #213E71
split-complementary
#712166 #3E7121 #217154
monochromatic
#180715 #42133B #712166 #A02F91 #C844B6

Accessibility & contrast

On white

9.95
#712166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#712166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712166
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712166#FFFFFF#000000##FFFFFF
##7121661.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3B68
Deuteranopia (green-blind)
#3B4764
Tritanopia (blue-blind)
#762840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #712166;
/* rgb */ color: rgb(113, 33, 102);
/* oklch */ color: oklch(40.0% 0.140 333.9);
Tailwind
colors: {
  custom: {
    50: '#9d6492',
    500: '#712166',
    950: '#000000',
  },
}
SCSS
$custom: #712166;
$custom-light: #9d6492;
$custom-dark: #000000;
JSON
{
  "hex": "#712166",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 308.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39994,
    "c": 0.1395,
    "h": 333.9
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#712166
secondary
#49A556
accent
#DE5E4A
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0F060D
muted
#7E7A7D

Preview Lab

Preview with #712166

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

Preview Lab → · Contrast checker → · Palette generator →

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