#712284#712284

#712284 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.165 H 319.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#712284
RGBrgb(113, 34, 132)
HSLhsl(288, 59%, 33%)
HSVhsv(288, 74%, 52%)
CMYKcmyk(14.4%, 74.2%, 0%, 48.2%)
CIE-LABlab(30.21, 48.45, -38.46)
CIE-LCHlch(30.21, 61.86, 321.56°)
OKLaboklab(41.97% 0.1244 -0.1079)
OKLCHoklch(41.97% 0.165 319.1)
XYZxyz(11.5464, 6.3213, 22.4372)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712284 #358422
analogous
#402284 #712284 #842266
triadic
#712284 #847122 #228471
tetradic
#712284 #844022 #358422 #226684
square
#712284 #844022 #358422 #226684
split-complementary
#712284 #668422 #228440
monochromatic
#1E0923 #471553 #712284 #9B2FB5 #B84FD2

Accessibility & contrast

On white

9.27
#712284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#712284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712284
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712284#FFFFFF#000000##FFFFFF
##7122841.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#294A82
Tritanopia (blue-blind)
#713551
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712284;
/* rgb */ color: rgb(113, 34, 132);
/* oklch */ color: oklch(42.0% 0.165 319.1);
Tailwind
colors: {
  custom: {
    50: '#9d65a8',
    500: '#712284',
    950: '#000000',
  },
}
SCSS
$custom: #712284;
$custom-light: #9d65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#712284",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 288.367,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41966,
    "c": 0.16465,
    "h": 319.1
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#712284
secondary
#61B54D
accent
#E24664
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712284

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

Preview Lab → · Contrast checker → · Palette generator →

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