#712F7D#712F7D

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

Color values

HEX#712F7D
RGBrgb(113, 47, 125)
HSLhsl(291, 45%, 34%)
HSVhsv(291, 62%, 49%)
CMYKcmyk(9.6%, 62.4%, 0%, 51%)
CIE-LABlab(31.86, 41.19, -31.44)
CIE-LCHlch(31.86, 51.82, 322.64°)
OKLaboklab(43.02% 0.1089 -0.0875)
OKLCHoklch(43.02% 0.14 321.2)
XYZxyz(11.5278, 7.0250, 20.1468)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F7D #3B7D2F
analogous
#4A2F7D #712F7D #7D2F62
triadic
#712F7D #7D712F #2F7D71
tetradic
#712F7D #7D4A2F #3B7D2F #2F627D
square
#712F7D #7D4A2F #3B7D2F #2F627D
split-complementary
#712F7D #627D2F #2F7D4A
monochromatic
#210E24 #491E51 #712F7D #9940A9 #B562C4

Accessibility & contrast

On white

8.73
#712F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712F7D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F7D#FFFFFF#000000##FFFFFF
##712F7D1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467F
Deuteranopia (green-blind)
#374D7B
Tritanopia (blue-blind)
#723B51
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712f7d;
/* rgb */ color: rgb(113, 47, 125);
/* oklch */ color: oklch(43.0% 0.140 321.2);
Tailwind
colors: {
  custom: {
    50: '#9c6ca3',
    500: '#712f7d',
    950: '#000000',
  },
}
SCSS
$custom: #712f7d;
$custom-light: #9c6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#712f7d",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 290.769,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43017,
    "c": 0.13973,
    "h": 321.2
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#712F7D
secondary
#69AB5D
accent
#D55367
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #712F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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