#712187#712187

#712187 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.169 H 317.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#712187
RGBrgb(113, 33, 135)
HSLhsl(287, 61%, 33%)
HSVhsv(287, 76%, 53%)
CMYKcmyk(16.3%, 75.6%, 0%, 47.1%)
CIE-LABlab(30.27, 49.45, -40.23)
CIE-LCHlch(30.27, 63.75, 320.87°)
OKLaboklab(42.08% 0.1251 -0.113)
OKLCHoklch(42.08% 0.169 317.9)
XYZxyz(11.7265, 6.3482, 23.5246)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712187 #378721
analogous
#3E2187 #712187 #87216A
triadic
#712187 #877121 #218771
tetradic
#712187 #873E21 #378721 #216A87
square
#712187 #873E21 #378721 #216A87
split-complementary
#712187 #6A8721 #21873E
monochromatic
#1F0925 #481556 #712187 #9A2DB8 #B74FD4

Accessibility & contrast

On white

9.25
#712187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#712187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712187
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712187#FFFFFF#000000##FFFFFF
##7121871.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#254A85
Tritanopia (blue-blind)
#703652
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712187;
/* rgb */ color: rgb(113, 33, 135);
/* oklch */ color: oklch(42.1% 0.169 317.9);
Tailwind
colors: {
  custom: {
    50: '#9d65aa',
    500: '#712187',
    950: '#000000',
  },
}
SCSS
$custom: #712187;
$custom-light: #9d65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712187",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 287.059,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42078,
    "c": 0.16861,
    "h": 317.9
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#712187
secondary
#64B74D
accent
#E44466
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712187

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

Preview Lab → · Contrast checker → · Palette generator →

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