#712188#712188

#712188 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.170 H 317.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#712188
RGBrgb(113, 33, 136)
HSLhsl(287, 61%, 33%)
HSVhsv(287, 76%, 53%)
CMYKcmyk(16.9%, 75.7%, 0%, 46.7%)
CIE-LABlab(30.34, 49.66, -40.74)
CIE-LCHlch(30.34, 64.23, 320.63°)
OKLaboklab(42.15% 0.125 -0.1145)
OKLCHoklch(42.15% 0.17 317.5)
XYZxyz(11.7972, 6.3765, 23.8972)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712188 #388821
analogous
#3D2188 #712188 #88216B
triadic
#712188 #887121 #218871
tetradic
#712188 #883D21 #388821 #216B88
square
#712188 #883D21 #388821 #216B88
split-complementary
#712188 #6B8821 #21883D
monochromatic
#1F0925 #481557 #712188 #9A2DB9 #B74FD4

Accessibility & contrast

On white

9.23
#712188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#712188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712188
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712188#FFFFFF#000000##FFFFFF
##7121881.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#244A86
Tritanopia (blue-blind)
#703753
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712188;
/* rgb */ color: rgb(113, 33, 136);
/* oklch */ color: oklch(42.1% 0.170 317.5);
Tailwind
colors: {
  custom: {
    50: '#9d65ab',
    500: '#712188',
    950: '#000000',
  },
}
SCSS
$custom: #712188;
$custom-light: #9d65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#712188",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 286.602,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42148,
    "c": 0.16953,
    "h": 317.5
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#712188
secondary
#65B84D
accent
#E44468
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712188

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

Preview Lab → · Contrast checker → · Palette generator →

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