#712276#712276

#712276 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.152 H 325.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#712276
RGBrgb(113, 34, 118)
HSLhsl(296, 55%, 30%)
HSVhsv(296, 71%, 46%)
CMYKcmyk(4.2%, 71.2%, 0%, 53.7%)
CIE-LABlab(29.32, 45.72, -31.07)
CIE-LCHlch(29.32, 55.28, 325.80°)
OKLaboklab(41.05% 0.125 -0.0863)
OKLCHoklch(41.05% 0.152 325.4)
XYZxyz(10.6519, 5.9634, 17.7260)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712276 #277622
analogous
#472276 #712276 #762251
triadic
#712276 #767122 #227671
tetradic
#712276 #764722 #277622 #225176
square
#712276 #764722 #277622 #225176
split-complementary
#712276 #517622 #227647
monochromatic
#170718 #441446 #712276 #9E30A6 #C348CA

Accessibility & contrast

On white

9.58
#712276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#712276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712276
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712276#FFFFFF#000000##FFFFFF
##7122761.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3F78
Deuteranopia (green-blind)
#334874
Tritanopia (blue-blind)
#742F49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #712276;
/* rgb */ color: rgb(113, 34, 118);
/* oklch */ color: oklch(41.0% 0.152 325.4);
Tailwind
colors: {
  custom: {
    50: '#9d659e',
    500: '#712276',
    950: '#000000',
  },
}
SCSS
$custom: #712276;
$custom-light: #9d659e;
$custom-dark: #000000;
JSON
{
  "hex": "#712276",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 296.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.15186,
    "h": 325.4
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#712276
secondary
#50A94B
accent
#DF4952
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712276

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

Preview Lab → · Contrast checker → · Palette generator →

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