#712267#712267

#712267 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.139 H 333.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#712267
RGBrgb(113, 34, 103)
HSLhsl(308, 54%, 29%)
HSVhsv(308, 70%, 44%)
CMYKcmyk(0%, 69.9%, 8.8%, 55.7%)
CIE-LABlab(28.47, 43.01, -22.80)
CIE-LCHlch(28.47, 48.68, 332.07°)
OKLaboklab(40.16% 0.1241 -0.0624)
OKLCHoklch(40.16% 0.139 333.3)
XYZxyz(9.8303, 5.6348, 13.3992)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712267 #22712C
analogous
#542271 #712267 #712240
triadic
#712267 #677122 #226771
tetradic
#712267 #715422 #22712C #224071
square
#712267 #715422 #22712C #224071
split-complementary
#712267 #407122 #227154
monochromatic
#180715 #42143C #712267 #A03092 #C746B7

Accessibility & contrast

On white

9.87
#712267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#712267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712267
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712267#FFFFFF#000000##FFFFFF
##7122671.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C69
Deuteranopia (green-blind)
#3B4765
Tritanopia (blue-blind)
#762941
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #712267;
/* rgb */ color: rgb(113, 34, 103);
/* oklch */ color: oklch(40.2% 0.139 333.3);
Tailwind
colors: {
  custom: {
    50: '#9d6492',
    500: '#712267',
    950: '#000000',
  },
}
SCSS
$custom: #712267;
$custom-light: #9d6492;
$custom-dark: #000000;
JSON
{
  "hex": "#712267",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 307.595,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40158,
    "c": 0.13894,
    "h": 333.3
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#712267
secondary
#4AA456
accent
#DD5D4B
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #712267

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

Preview Lab → · Contrast checker → · Palette generator →

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