#712F7C#712F7C

#712F7C is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.0% C 0.139 H 321.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#712F7C
RGBrgb(113, 47, 124)
HSLhsl(291, 45%, 34%)
HSVhsv(291, 62%, 49%)
CMYKcmyk(8.9%, 62.1%, 0%, 51.4%)
CIE-LABlab(31.81, 40.98, -30.91)
CIE-LCHlch(31.81, 51.33, 322.98°)
OKLaboklab(42.96% 0.1089 -0.0859)
OKLCHoklch(42.96% 0.139 321.7)
XYZxyz(11.4643, 6.9995, 19.8121)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F7C #3A7C2F
analogous
#4A2F7C #712F7C #7C2F60
triadic
#712F7C #7C712F #2F7C71
tetradic
#712F7C #7C4A2F #3A7C2F #2F607C
square
#712F7C #7C4A2F #3A7C2F #2F607C
split-complementary
#712F7C #607C2F #2F7C4A
monochromatic
#200D23 #491E50 #712F7C #9940A8 #B662C3

Accessibility & contrast

On white

8.75
#712F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#712F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F7C
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F7C#FFFFFF#000000##FFFFFF
##712F7C1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#384D7A
Tritanopia (blue-blind)
#723B51
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712f7c;
/* rgb */ color: rgb(113, 47, 124);
/* oklch */ color: oklch(43.0% 0.139 321.7);
Tailwind
colors: {
  custom: {
    50: '#9c6ca2',
    500: '#712f7c',
    950: '#000000',
  },
}
SCSS
$custom: #712f7c;
$custom-light: #9c6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#712f7c",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 291.429,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42957,
    "c": 0.13872,
    "h": 321.7
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#712F7C
secondary
#68AA5C
accent
#D55366
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #712F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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