#712266#712266

#712266 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.1% C 0.138 H 333.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#712266
RGBrgb(113, 34, 102)
HSLhsl(308, 54%, 29%)
HSVhsv(308, 70%, 44%)
CMYKcmyk(0%, 69.9%, 9.7%, 55.7%)
CIE-LABlab(28.42, 42.84, -22.24)
CIE-LCHlch(28.42, 48.27, 332.56°)
OKLaboklab(40.1% 0.124 -0.0608)
OKLCHoklch(40.1% 0.138 333.9)
XYZxyz(9.7804, 5.6149, 13.1365)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712266 #22712D
analogous
#552271 #712266 #71223F
triadic
#712266 #667122 #226671
tetradic
#712266 #715522 #22712D #223F71
square
#712266 #715522 #22712D #223F71
split-complementary
#712266 #3F7122 #227155
monochromatic
#180715 #42143C #712266 #A03090 #C746B5

Accessibility & contrast

On white

9.89
#712266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#712266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712266
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712266#FFFFFF#000000##FFFFFF
##7122661.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C68
Deuteranopia (green-blind)
#3B4764
Tritanopia (blue-blind)
#762841
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #712266;
/* rgb */ color: rgb(113, 34, 102);
/* oklch */ color: oklch(40.1% 0.138 333.9);
Tailwind
colors: {
  custom: {
    50: '#9d6492',
    500: '#712266',
    950: '#000000',
  },
}
SCSS
$custom: #712266;
$custom-light: #9d6492;
$custom-dark: #000000;
JSON
{
  "hex": "#712266",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 102
  },
  "hsl": {
    "h": 308.354,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40102,
    "c": 0.13812,
    "h": 333.9
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#712266
secondary
#4AA457
accent
#DD5F4B
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0F060D
muted
#7E7A7D

Preview Lab

Preview with #712266

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

Preview Lab → · Contrast checker → · Palette generator →

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