#712277#712277

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

Color values

HEX#712277
RGBrgb(113, 34, 119)
HSLhsl(296, 56%, 30%)
HSVhsv(296, 71%, 47%)
CMYKcmyk(5%, 71.4%, 0%, 53.3%)
CIE-LABlab(29.38, 45.91, -31.61)
CIE-LCHlch(29.38, 55.74, 325.45°)
OKLaboklab(41.11% 0.125 -0.0879)
OKLCHoklch(41.11% 0.153 324.9)
XYZxyz(10.7116, 5.9873, 18.0407)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712277 #287722
analogous
#472277 #712277 #772252
triadic
#712277 #777122 #227771
tetradic
#712277 #774722 #287722 #225277
square
#712277 #774722 #287722 #225277
split-complementary
#712277 #527722 #227747
monochromatic
#170718 #441447 #712277 #9E30A7 #C249CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712277#FFFFFF#000000##FFFFFF
##7122771.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)
#0D3F79
Deuteranopia (green-blind)
#324975
Tritanopia (blue-blind)
#74304A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #712277;
/* rgb */ color: rgb(113, 34, 119);
/* oklch */ color: oklch(41.1% 0.153 324.9);
Tailwind
colors: {
  custom: {
    50: '#9d659f',
    500: '#712277',
    950: '#000000',
  },
}
SCSS
$custom: #712277;
$custom-light: #9d659f;
$custom-dark: #000000;
JSON
{
  "hex": "#712277",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 295.765,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.41108,
    "c": 0.15276,
    "h": 324.9
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#712277
secondary
#52AA4B
accent
#DF4954
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712277

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

Preview Lab → · Contrast checker → · Palette generator →

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