#712297#712297

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

Color values

HEX#712297
RGBrgb(113, 34, 151)
HSLhsl(281, 63%, 36%)
HSVhsv(281, 77%, 59%)
CMYKcmyk(25.2%, 77.5%, 0%, 40.8%)
CIE-LABlab(31.55, 52.42, -48.03)
CIE-LCHlch(31.55, 71.10, 317.50°)
OKLaboklab(43.35% 0.1217 -0.136)
OKLCHoklch(43.35% 0.183 311.8)
XYZxyz(12.9670, 6.8895, 29.9189)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712297 #489722
analogous
#372297 #712297 #972283
triadic
#712297 #977122 #229771
tetradic
#712297 #973722 #489722 #228397
square
#712297 #973722 #489722 #228397
split-complementary
#712297 #839722 #229737
monochromatic
#260C33 #4C1765 #712297 #962DC9 #B05ADA

Accessibility & contrast

On white

8.83
#712297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#712297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712297
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712297#FFFFFF#000000##FFFFFF
##7122971.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#0D4C95
Tritanopia (blue-blind)
#6C3E5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712297;
/* rgb */ color: rgb(113, 34, 151);
/* oklch */ color: oklch(43.3% 0.183 311.8);
Tailwind
colors: {
  custom: {
    50: '#9e66b6',
    500: '#712297',
    950: '#000000',
  },
}
SCSS
$custom: #712297;
$custom-light: #9e66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#712297",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 280.513,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43346,
    "c": 0.18251,
    "h": 311.8
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#712297
secondary
#78BE57
accent
#E64277
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #712297

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

Preview Lab → · Contrast checker → · Palette generator →

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