#712974#712974

#712974 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.7% C 0.140 H 326.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#712974
RGBrgb(113, 41, 116)
HSLhsl(298, 48%, 31%)
HSVhsv(298, 65%, 45%)
CMYKcmyk(2.6%, 64.7%, 0%, 54.5%)
CIE-LABlab(30.30, 42.28, -28.25)
CIE-LCHlch(30.30, 50.85, 326.25°)
OKLaboklab(41.71% 0.1164 -0.0782)
OKLCHoklch(41.71% 0.14 326.1)
XYZxyz(10.7552, 6.3582, 17.1804)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712974 #2C7429
analogous
#4B2974 #712974 #742951
triadic
#712974 #747129 #297471
tetradic
#712974 #744B29 #2C7429 #295174
square
#712974 #744B29 #2C7429 #295174
split-complementary
#712974 #517429 #29744B
monochromatic
#19091A #451947 #712974 #9D39A1 #BE55C3

Accessibility & contrast

On white

9.24
#712974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#712974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712974
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712974#FFFFFF#000000##FFFFFF
##7129741.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4276
Deuteranopia (green-blind)
#384B72
Tritanopia (blue-blind)
#74334A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712974;
/* rgb */ color: rgb(113, 41, 116);
/* oklch */ color: oklch(41.7% 0.140 326.1);
Tailwind
colors: {
  custom: {
    50: '#9c689c',
    500: '#712974',
    950: '#000000',
  },
}
SCSS
$custom: #712974;
$custom-light: #9c689c;
$custom-dark: #000000;
JSON
{
  "hex": "#712974",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 297.6,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41714,
    "c": 0.14019,
    "h": 326.1
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#712974
secondary
#56A653
accent
#D75056
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #712974

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

Preview Lab → · Contrast checker → · Palette generator →

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