#712397#712397

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

Color values

HEX#712397
RGBrgb(113, 35, 151)
HSLhsl(280, 62%, 36%)
HSVhsv(280, 77%, 59%)
CMYKcmyk(25.2%, 76.8%, 0%, 40.8%)
CIE-LABlab(31.69, 52.04, -47.82)
CIE-LCHlch(31.69, 70.68, 317.42°)
OKLaboklab(43.44% 0.1208 -0.1353)
OKLCHoklch(43.44% 0.181 311.8)
XYZxyz(12.9960, 6.9475, 29.9286)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712397 #499723
analogous
#372397 #712397 #972383
triadic
#712397 #977123 #239771
tetradic
#712397 #973723 #499723 #238397
square
#712397 #973723 #499723 #238397
split-complementary
#712397 #839723 #239737
monochromatic
#270C34 #4C1765 #712397 #962FC9 #B05BD9

Accessibility & contrast

On white

8.79
#712397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#712397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712397
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712397#FFFFFF#000000##FFFFFF
##7123971.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712397;
/* rgb */ color: rgb(113, 35, 151);
/* oklch */ color: oklch(43.4% 0.181 311.8);
Tailwind
colors: {
  custom: {
    50: '#9e67b6',
    500: '#712397',
    950: '#000000',
  },
}
SCSS
$custom: #712397;
$custom-light: #9e67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#712397",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 280.345,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4344,
    "c": 0.18142,
    "h": 311.8
  },
  "luminance": 0.06947
}

Semantic roles & 50–950 ramp

primary
#712397
secondary
#79BE58
accent
#E54278
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #712397

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

Preview Lab → · Contrast checker → · Palette generator →

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