#712C8E#712C8E

#712C8E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.161 H 314.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#712C8E
RGBrgb(113, 44, 142)
HSLhsl(282, 53%, 36%)
HSVhsv(282, 69%, 56%)
CMYKcmyk(20.4%, 69%, 0%, 44.3%)
CIE-LABlab(32.40, 46.26, -41.14)
CIE-LCHlch(32.40, 61.90, 318.35°)
OKLaboklab(43.75% 0.1125 -0.1158)
OKLCHoklch(43.75% 0.161 314.2)
XYZxyz(12.5924, 7.2655, 26.3250)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C8E #498E2C
analogous
#402C8E #712C8E #8E2C7A
triadic
#712C8E #8E712C #2C8E71
tetradic
#712C8E #8E402C #498E2C #2C7A8E
square
#712C8E #8E402C #498E2C #2C7A8E
split-complementary
#712C8E #7A8E2C #2C8E40
monochromatic
#270F31 #4C1E5F #712C8E #963ABD #B065CF

Accessibility & contrast

On white

8.56
#712C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#712C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712C8E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C8E#FFFFFF#000000##FFFFFF
##712C8E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#6E3F59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712c8e;
/* rgb */ color: rgb(113, 44, 142);
/* oklch */ color: oklch(43.7% 0.161 314.2);
Tailwind
colors: {
  custom: {
    50: '#9d6bb0',
    500: '#712c8e',
    950: '#000000',
  },
}
SCSS
$custom: #712c8e;
$custom-light: #9d6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#712c8e",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 282.245,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.16145,
    "h": 314.2
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#712C8E
secondary
#79B660
accent
#DC4C76
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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