#712182#712182

#712182 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.164 H 320.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#712182
RGBrgb(113, 33, 130)
HSLhsl(289, 60%, 32%)
HSVhsv(289, 75%, 51%)
CMYKcmyk(13.1%, 74.6%, 0%, 49%)
CIE-LABlab(29.94, 48.45, -37.65)
CIE-LCHlch(29.94, 61.35, 322.15°)
OKLaboklab(41.73% 0.1256 -0.1055)
OKLCHoklch(41.73% 0.164 320)
XYZxyz(11.3827, 6.2107, 21.7140)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712182 #328221
analogous
#412182 #712182 #822162
triadic
#712182 #827121 #218271
tetradic
#712182 #824121 #328221 #216282
square
#712182 #824121 #328221 #216282
split-complementary
#712182 #628221 #218241
monochromatic
#1C0820 #471551 #712182 #9B2DB3 #BA4CD2

Accessibility & contrast

On white

9.37
#712182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#712182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712182
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712182#FFFFFF#000000##FFFFFF
##7121821.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#2A4980
Tritanopia (blue-blind)
#71344F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #712182;
/* rgb */ color: rgb(113, 33, 130);
/* oklch */ color: oklch(41.7% 0.164 320.0);
Tailwind
colors: {
  custom: {
    50: '#9d65a7',
    500: '#712182',
    950: '#000000',
  },
}
SCSS
$custom: #712182;
$custom-light: #9d65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#712182",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 289.485,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41731,
    "c": 0.164,
    "h": 320
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#712182
secondary
#5DB44A
accent
#E34561
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #712182

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

Preview Lab → · Contrast checker → · Palette generator →

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