#712B74#712B74

#712B74 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.137 H 326.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#712B74
RGBrgb(113, 43, 116)
HSLhsl(298, 46%, 31%)
HSVhsv(298, 63%, 45%)
CMYKcmyk(2.6%, 62.9%, 0%, 54.5%)
CIE-LABlab(30.64, 41.33, -27.71)
CIE-LCHlch(30.64, 49.76, 326.16°)
OKLaboklab(41.96% 0.1137 -0.0766)
OKLCHoklch(41.96% 0.137 326)
XYZxyz(10.8261, 6.5001, 17.2040)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B74 #2E742B
analogous
#4C2B74 #712B74 #742B52
triadic
#712B74 #74712B #2B7471
tetradic
#712B74 #744C2B #2E742B #2B5274
square
#712B74 #744C2B #2E742B #2B5274
split-complementary
#712B74 #52742B #2B744C
monochromatic
#1A0A1B #461A47 #712B74 #9C3CA1 #BD58C1

Accessibility & contrast

On white

9.13
#712B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#712B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B74
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B74#FFFFFF#000000##FFFFFF
##712B741.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204276
Deuteranopia (green-blind)
#3A4B72
Tritanopia (blue-blind)
#74354B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #712b74;
/* rgb */ color: rgb(113, 43, 116);
/* oklch */ color: oklch(42.0% 0.137 326.0);
Tailwind
colors: {
  custom: {
    50: '#9c699c',
    500: '#712b74',
    950: '#000000',
  },
}
SCSS
$custom: #712b74;
$custom-light: #9c699c;
$custom-dark: #000000;
JSON
{
  "hex": "#712b74",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 297.534,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41962,
    "c": 0.13715,
    "h": 326
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#712B74
secondary
#58A655
accent
#D65258
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #712B74

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

Preview Lab → · Contrast checker → · Palette generator →

#712B74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva