#712671#712671

#712671 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.142 H 327.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#712671
RGBrgb(113, 38, 113)
HSLhsl(300, 50%, 30%)
HSVhsv(300, 66%, 44%)
CMYKcmyk(0%, 66.4%, 0%, 55.7%)
CIE-LABlab(29.64, 43.07, -27.38)
CIE-LCHlch(29.64, 51.04, 327.55°)
OKLaboklab(41.18% 0.12 -0.0756)
OKLCHoklch(41.18% 0.142 327.8)
XYZxyz(10.4837, 6.0899, 16.2429)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712671 #267126
analogous
#4C2671 #712671 #71264C
triadic
#712671 #717126 #267171
tetradic
#712671 #714C26 #267126 #264C71
square
#712671 #714C26 #267126 #264C71
split-complementary
#712671 #4C7126 #26714C
monochromatic
#170817 #431743 #712671 #9F359F #C34EC3

Accessibility & contrast

On white

9.47
#712671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#712671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712671
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712671#FFFFFF#000000##FFFFFF
##7126711.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4073
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#753048
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #712671;
/* rgb */ color: rgb(113, 38, 113);
/* oklch */ color: oklch(41.2% 0.142 327.8);
Tailwind
colors: {
  custom: {
    50: '#9c679a',
    500: '#712671',
    950: '#000000',
  },
}
SCSS
$custom: #712671;
$custom-light: #9c679a;
$custom-dark: #000000;
JSON
{
  "hex": "#712671",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 300,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.14186,
    "h": 327.8
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#712671
secondary
#4FA44F
accent
#D94F4F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712671

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

Preview Lab → · Contrast checker → · Palette generator →

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