#712782#712782

#712782 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.156 H 319.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#712782
RGBrgb(113, 39, 130)
HSLhsl(289, 54%, 33%)
HSVhsv(289, 70%, 51%)
CMYKcmyk(13.1%, 70%, 0%, 49%)
CIE-LABlab(30.82, 45.96, -36.24)
CIE-LCHlch(30.82, 58.53, 321.75°)
OKLaboklab(42.36% 0.119 -0.1014)
OKLCHoklch(42.36% 0.156 319.6)
XYZxyz(11.5643, 6.5740, 21.7745)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712782 #388227
analogous
#432782 #712782 #822765
triadic
#712782 #827127 #278271
tetradic
#712782 #824327 #388227 #276582
square
#712782 #824327 #388227 #276582
split-complementary
#712782 #658227 #278243
monochromatic
#1F0B24 #481953 #712782 #9A35B1 #B757CD

Accessibility & contrast

On white

9.07
#712782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#712782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712782
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712782#FFFFFF#000000##FFFFFF
##7127821.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034485
Deuteranopia (green-blind)
#2E4B80
Tritanopia (blue-blind)
#713851
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712782;
/* rgb */ color: rgb(113, 39, 130);
/* oklch */ color: oklch(42.4% 0.156 319.6);
Tailwind
colors: {
  custom: {
    50: '#9d68a7',
    500: '#712782',
    950: '#000000',
  },
}
SCSS
$custom: #712782;
$custom-light: #9d68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#712782",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 288.791,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42359,
    "c": 0.15635,
    "h": 319.6
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#712782
secondary
#65B153
accent
#DD4B66
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #712782

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

Preview Lab → · Contrast checker → · Palette generator →

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