#712288#712288

#712288 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.168 H 317.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#712288
RGBrgb(113, 34, 136)
HSLhsl(286, 60%, 33%)
HSVhsv(286, 75%, 53%)
CMYKcmyk(16.9%, 75%, 0%, 46.7%)
CIE-LABlab(30.48, 49.27, -40.52)
CIE-LCHlch(30.48, 63.79, 320.57°)
OKLaboklab(42.25% 0.124 -0.1139)
OKLCHoklch(42.25% 0.168 317.4)
XYZxyz(11.8254, 6.4329, 23.9065)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712288 #398822
analogous
#3E2288 #712288 #88226C
triadic
#712288 #887122 #228871
tetradic
#712288 #883E22 #398822 #226C88
square
#712288 #883E22 #398822 #226C88
split-complementary
#712288 #6C8822 #22883E
monochromatic
#200A26 #481657 #712288 #9A2EB9 #B651D3

Accessibility & contrast

On white

9.18
#712288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#712288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712288
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712288#FFFFFF#000000##FFFFFF
##7122881.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#254A86
Tritanopia (blue-blind)
#703753
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #712288;
/* rgb */ color: rgb(113, 34, 136);
/* oklch */ color: oklch(42.2% 0.168 317.4);
Tailwind
colors: {
  custom: {
    50: '#9d66ab',
    500: '#712288',
    950: '#000000',
  },
}
SCSS
$custom: #712288;
$custom-light: #9d66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#712288",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 286.471,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42245,
    "c": 0.16837,
    "h": 317.4
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#712288
secondary
#66B74F
accent
#E34568
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712288

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

Preview Lab → · Contrast checker → · Palette generator →

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