#712189#712189

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

Color values

HEX#712189
RGBrgb(113, 33, 137)
HSLhsl(286, 61%, 33%)
HSVhsv(286, 76%, 54%)
CMYKcmyk(17.5%, 75.9%, 0%, 46.3%)
CIE-LABlab(30.41, 49.86, -41.25)
CIE-LCHlch(30.41, 64.71, 320.40°)
OKLaboklab(42.22% 0.1249 -0.116)
OKLCHoklch(42.22% 0.17 317.1)
XYZxyz(11.8686, 6.4051, 24.2732)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712189 #398921
analogous
#3D2189 #712189 #89216D
triadic
#712189 #897121 #218971
tetradic
#712189 #893D21 #398921 #216D89
square
#712189 #893D21 #398921 #216D89
split-complementary
#712189 #6D8921 #21893D
monochromatic
#200926 #481558 #712189 #9A2DBA #B650D5

Accessibility & contrast

On white

9.21
#712189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712189
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712189#FFFFFF#000000##FFFFFF
##7121891.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#234A87
Tritanopia (blue-blind)
#703753
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #712189;
/* rgb */ color: rgb(113, 33, 137);
/* oklch */ color: oklch(42.2% 0.170 317.1);
Tailwind
colors: {
  custom: {
    50: '#9d65ac',
    500: '#712189',
    950: '#000000',
  },
}
SCSS
$custom: #712189;
$custom-light: #9d65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#712189",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 286.154,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42219,
    "c": 0.17046,
    "h": 317.1
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#712189
secondary
#66B84E
accent
#E44469
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712189

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

Preview Lab → · Contrast checker → · Palette generator →

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