#712C7C#712C7C

#712C7C is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.6% C 0.143 H 321.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#712C7C
RGBrgb(113, 44, 124)
HSLhsl(292, 48%, 33%)
HSVhsv(292, 65%, 49%)
CMYKcmyk(8.9%, 64.5%, 0%, 51.4%)
CIE-LABlab(31.27, 42.45, -31.75)
CIE-LCHlch(31.27, 53.01, 323.20°)
OKLaboklab(42.57% 0.1129 -0.0884)
OKLCHoklch(42.57% 0.143 321.9)
XYZxyz(11.3484, 6.7679, 19.7734)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C7C #377C2C
analogous
#492C7C #712C7C #7C2C5F
triadic
#712C7C #7C712C #2C7C71
tetradic
#712C7C #7C492C #377C2C #2C5F7C
square
#712C7C #7C492C #377C2C #2C5F7C
split-complementary
#712C7C #5F7C2C #2C7C49
monochromatic
#1F0C22 #481C4F #712C7C #9A3CA9 #B75DC5

Accessibility & contrast

On white

8.92
#712C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#712C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712C7C
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C7C#FFFFFF#000000##FFFFFF
##712C7C1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A457E
Deuteranopia (green-blind)
#364C7A
Tritanopia (blue-blind)
#723950
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712c7c;
/* rgb */ color: rgb(113, 44, 124);
/* oklch */ color: oklch(42.6% 0.143 321.9);
Tailwind
colors: {
  custom: {
    50: '#9c6aa2',
    500: '#712c7c',
    950: '#000000',
  },
}
SCSS
$custom: #712c7c;
$custom-light: #9c6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#712c7c",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 291.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.14335,
    "h": 321.9
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#712C7C
secondary
#64AC58
accent
#D75163
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #712C7C

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

Preview Lab → · Contrast checker → · Palette generator →

#712C7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva