#712198#712198

#712198 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.185 H 311.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#712198
RGBrgb(113, 33, 152)
HSLhsl(280, 64%, 36%)
HSVhsv(280, 78%, 60%)
CMYKcmyk(25.7%, 78.3%, 0%, 40.4%)
CIE-LABlab(31.50, 53.01, -48.73)
CIE-LCHlch(31.50, 72.01, 317.41°)
OKLaboklab(43.33% 0.1225 -0.138)
OKLCHoklch(43.33% 0.185 311.6)
XYZxyz(13.0203, 6.8658, 30.3390)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712198 #489821
analogous
#362198 #712198 #982184
triadic
#712198 #987121 #219871
tetradic
#712198 #983621 #489821 #218498
square
#712198 #983621 #489821 #218498
split-complementary
#712198 #849821 #219836
monochromatic
#260B33 #4C1666 #712198 #962CCA #B059DB

Accessibility & contrast

On white

8.85
#712198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#712198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712198
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712198#FFFFFF#000000##FFFFFF
##7121981.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#074C96
Tritanopia (blue-blind)
#6C3E5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712198;
/* rgb */ color: rgb(113, 33, 152);
/* oklch */ color: oklch(43.3% 0.185 311.6);
Tailwind
colors: {
  custom: {
    50: '#9e66b7',
    500: '#712198',
    950: '#000000',
  },
}
SCSS
$custom: #712198;
$custom-light: #9e66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#712198",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 280.336,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43332,
    "c": 0.18452,
    "h": 311.6
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

primary
#712198
secondary
#78BF56
accent
#E74077
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #712198

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

Preview Lab → · Contrast checker → · Palette generator →

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