#712866#712866

#712866 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.8% C 0.129 H 334.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#712866
RGBrgb(113, 40, 102)
HSLhsl(309, 48%, 30%)
HSVhsv(309, 65%, 44%)
CMYKcmyk(0%, 64.6%, 9.7%, 55.7%)
CIE-LABlab(29.38, 40.17, -20.73)
CIE-LCHlch(29.38, 45.20, 332.70°)
OKLaboklab(40.8% 0.1162 -0.0565)
OKLCHoklch(40.8% 0.129 334.1)
XYZxyz(9.9672, 5.9884, 13.1987)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712866 #287133
analogous
#572871 #712866 #712842
triadic
#712866 #667128 #286671
tetradic
#712866 #715728 #287133 #284271
square
#712866 #715728 #287133 #284271
split-complementary
#712866 #427128 #287157
monochromatic
#170814 #44183D #712866 #9E388F #C252B1

Accessibility & contrast

On white

9.56
#712866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#712866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712866
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712866#FFFFFF#000000##FFFFFF
##7128661.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273E68
Deuteranopia (green-blind)
#3E4964
Tritanopia (blue-blind)
#762D43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #712866;
/* rgb */ color: rgb(113, 40, 102);
/* oklch */ color: oklch(40.8% 0.129 334.1);
Tailwind
colors: {
  custom: {
    50: '#9c6792',
    500: '#712866',
    950: '#000000',
  },
}
SCSS
$custom: #712866;
$custom-light: #9c6792;
$custom-dark: #000000;
JSON
{
  "hex": "#712866",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 309.041,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.40804,
    "c": 0.12922,
    "h": 334.1
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#712866
secondary
#52A35E
accent
#D76550
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060D
muted
#7E7A7D

Preview Lab

Preview with #712866

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

Preview Lab → · Contrast checker → · Palette generator →

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