#712E82#712E82

#712E82 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.146 H 319.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#712E82
RGBrgb(113, 46, 130)
HSLhsl(288, 48%, 35%)
HSVhsv(288, 65%, 51%)
CMYKcmyk(13.1%, 64.6%, 0%, 49%)
CIE-LABlab(31.98, 42.73, -34.38)
CIE-LCHlch(31.98, 54.84, 321.18°)
OKLaboklab(43.2% 0.1104 -0.096)
OKLCHoklch(43.2% 0.146 319)
XYZxyz(11.8158, 7.0769, 21.8584)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712E82 #3F822E
analogous
#472E82 #712E82 #822E69
triadic
#712E82 #82712E #2E8271
tetradic
#712E82 #82472E #3F822E #2E6982
square
#712E82 #82472E #3F822E #2E6982
split-complementary
#712E82 #69822E #2E8247
monochromatic
#220E28 #4A1E55 #712E82 #983EAF #B363C8

Accessibility & contrast

On white

8.69
#712E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#712E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712E82
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712E82#FFFFFF#000000##FFFFFF
##712E821.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164785
Deuteranopia (green-blind)
#334E80
Tritanopia (blue-blind)
#713C53
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712e82;
/* rgb */ color: rgb(113, 46, 130);
/* oklch */ color: oklch(43.2% 0.146 319.0);
Tailwind
colors: {
  custom: {
    50: '#9c6ba7',
    500: '#712e82',
    950: '#000000',
  },
}
SCSS
$custom: #712e82;
$custom-light: #9c6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#712e82",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 287.857,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43199,
    "c": 0.14634,
    "h": 319
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#712E82
secondary
#6EAE5D
accent
#D7506C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #712E82

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

Preview Lab → · Contrast checker → · Palette generator →

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