#712F8F#712F8F

#712F8F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.158 H 313.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#712F8F
RGBrgb(113, 47, 143)
HSLhsl(281, 51%, 37%)
HSVhsv(281, 67%, 56%)
CMYKcmyk(21%, 67.1%, 0%, 43.9%)
CIE-LABlab(32.98, 45.06, -40.83)
CIE-LCHlch(32.98, 60.81, 317.82°)
OKLaboklab(44.18% 0.1089 -0.1149)
OKLCHoklch(44.18% 0.158 313.4)
XYZxyz(12.7836, 7.5273, 26.7608)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F8F #4D8F2F
analogous
#412F8F #712F8F #8F2F7D
triadic
#712F8F #8F712F #2F8F71
tetradic
#712F8F #8F412F #4D8F2F #2F7D8F
square
#712F8F #8F412F #4D8F2F #2F7D8F
split-complementary
#712F8F #7D8F2F #2F8F41
monochromatic
#281133 #4D2061 #712F8F #953EBD #AF6ACE

Accessibility & contrast

On white

8.38
#712F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#712F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F8F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F8F#FFFFFF#000000##FFFFFF
##712F8F1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#6E425B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #712f8f;
/* rgb */ color: rgb(113, 47, 143);
/* oklch */ color: oklch(44.2% 0.158 313.4);
Tailwind
colors: {
  custom: {
    50: '#9d6cb0',
    500: '#712f8f',
    950: '#000000',
  },
}
SCSS
$custom: #712f8f;
$custom-light: #9d6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#712f8f",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 281.25,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44183,
    "c": 0.15831,
    "h": 313.4
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#712F8F
secondary
#7EB565
accent
#DA4E7A
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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