#712164#712164

#712164 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.9% C 0.138 H 335.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#712164
RGBrgb(113, 33, 100)
HSLhsl(310, 55%, 29%)
HSVhsv(310, 71%, 44%)
CMYKcmyk(0%, 70.8%, 11.5%, 55.7%)
CIE-LABlab(28.17, 42.92, -21.34)
CIE-LCHlch(28.17, 47.93, 333.56°)
OKLaboklab(39.89% 0.125 -0.0582)
OKLCHoklch(39.89% 0.138 335)
XYZxyz(9.6543, 5.5193, 12.6110)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712164 #21712E
analogous
#562171 #712164 #71213C
triadic
#712164 #647121 #216471
tetradic
#712164 #715621 #21712E #213C71
square
#712164 #715621 #21712E #213C71
split-complementary
#712164 #3C7121 #217156
monochromatic
#180715 #42133A #712164 #A02F8E #C844B3

Accessibility & contrast

On white

9.98
#712164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#712164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712164
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712164#FFFFFF#000000##FFFFFF
##7121641.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B66
Deuteranopia (green-blind)
#3C4762
Tritanopia (blue-blind)
#77273F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #712164;
/* rgb */ color: rgb(113, 33, 100);
/* oklch */ color: oklch(39.9% 0.138 335.0);
Tailwind
colors: {
  custom: {
    50: '#9d6490',
    500: '#712164',
    950: '#000000',
  },
}
SCSS
$custom: #712164;
$custom-light: #9d6490;
$custom-dark: #000000;
JSON
{
  "hex": "#712164",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 309.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39885,
    "c": 0.13789,
    "h": 335
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#712164
secondary
#49A558
accent
#DE624A
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0F060C
muted
#7E7A7D

Preview Lab

Preview with #712164

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

Preview Lab → · Contrast checker → · Palette generator →

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