#712682#712682

#712682 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.158 H 319.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#712682
RGBrgb(113, 38, 130)
HSLhsl(289, 55%, 33%)
HSVhsv(289, 71%, 51%)
CMYKcmyk(13.1%, 70.8%, 0%, 49%)
CIE-LABlab(30.66, 46.40, -36.49)
CIE-LCHlch(30.66, 59.02, 321.82°)
OKLaboklab(42.25% 0.1201 -0.1021)
OKLCHoklch(42.25% 0.158 319.6)
XYZxyz(11.5319, 6.5092, 21.7637)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712682 #378226
analogous
#432682 #712682 #822665
triadic
#712682 #827126 #268271
tetradic
#712682 #824326 #378226 #266582
square
#712682 #824326 #378226 #266582
split-complementary
#712682 #658226 #268243
monochromatic
#1F0A23 #481853 #712682 #9A34B1 #B755CD

Accessibility & contrast

On white

9.12
#712682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#712682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712682
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712682#FFFFFF#000000##FFFFFF
##7126821.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#2D4B80
Tritanopia (blue-blind)
#713751
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #712682;
/* rgb */ color: rgb(113, 38, 130);
/* oklch */ color: oklch(42.2% 0.158 319.6);
Tailwind
colors: {
  custom: {
    50: '#9d67a7',
    500: '#712682',
    950: '#000000',
  },
}
SCSS
$custom: #712682;
$custom-light: #9d67a7;
$custom-dark: #000000;
JSON
{
  "hex": "#712682",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 288.913,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42248,
    "c": 0.15769,
    "h": 319.6
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#712682
secondary
#64B252
accent
#DE4A65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #712682

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

Preview Lab → · Contrast checker → · Palette generator →

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