#712F7A#712F7A

#712F7A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.137 H 322.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#712F7A
RGBrgb(113, 47, 122)
HSLhsl(293, 44%, 33%)
HSVhsv(293, 61%, 48%)
CMYKcmyk(7.4%, 61.5%, 0%, 52.2%)
CIE-LABlab(31.69, 40.57, -29.83)
CIE-LCHlch(31.69, 50.36, 323.67°)
OKLaboklab(42.84% 0.1088 -0.0828)
OKLCHoklch(42.84% 0.137 322.7)
XYZxyz(11.3391, 6.9495, 19.1527)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F7A #387A2F
analogous
#4B2F7A #712F7A #7A2F5D
triadic
#712F7A #7A712F #2F7A71
tetradic
#712F7A #7A4B2F #387A2F #2F5D7A
square
#712F7A #7A4B2F #387A2F #2F5D7A
split-complementary
#712F7A #5D7A2F #2F7A4B
monochromatic
#1F0D22 #481E4E #712F7A #9A40A6 #B761C2

Accessibility & contrast

On white

8.79
#712F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#712F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F7A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F7A#FFFFFF#000000##FFFFFF
##712F7A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467C
Deuteranopia (green-blind)
#394D78
Tritanopia (blue-blind)
#733A50
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712f7a;
/* rgb */ color: rgb(113, 47, 122);
/* oklch */ color: oklch(42.8% 0.137 322.7);
Tailwind
colors: {
  custom: {
    50: '#9c6ca1',
    500: '#712f7a',
    950: '#000000',
  },
}
SCSS
$custom: #712f7a;
$custom-light: #9c6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#712f7a",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 292.8,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42836,
    "c": 0.13671,
    "h": 322.7
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#712F7A
secondary
#65A95C
accent
#D45463
background
#F9F6F9
surface
#F2ECF2
border
#CCC7CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #712F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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