#712F8D#712F8D

#712F8D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.156 H 314.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#712F8D
RGBrgb(113, 47, 141)
HSLhsl(282, 50%, 37%)
HSVhsv(282, 67%, 55%)
CMYKcmyk(19.9%, 66.7%, 0%, 44.7%)
CIE-LABlab(32.85, 44.62, -39.81)
CIE-LCHlch(32.85, 59.80, 318.26°)
OKLaboklab(44.05% 0.109 -0.1119)
OKLCHoklch(44.05% 0.156 314.2)
XYZxyz(12.6335, 7.4672, 25.9700)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F8D #4B8D2F
analogous
#422F8D #712F8D #8D2F7A
triadic
#712F8D #8D712F #2F8D71
tetradic
#712F8D #8D422F #4B8D2F #2F7A8D
square
#712F8D #8D422F #4B8D2F #2F7A8D
split-complementary
#712F8D #7A8D2F #2F8D42
monochromatic
#271031 #4C205F #712F8D #963EBB #AF69CD

Accessibility & contrast

On white

8.42
#712F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#712F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F8D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F8D#FFFFFF#000000##FFFFFF
##712F8D1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024A90
Deuteranopia (green-blind)
#2B4F8B
Tritanopia (blue-blind)
#6F415A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712f8d;
/* rgb */ color: rgb(113, 47, 141);
/* oklch */ color: oklch(44.0% 0.156 314.2);
Tailwind
colors: {
  custom: {
    50: '#9d6caf',
    500: '#712f8d',
    950: '#000000',
  },
}
SCSS
$custom: #712f8d;
$custom-light: #9d6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#712f8d",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 282.128,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44047,
    "c": 0.15621,
    "h": 314.2
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#712F8D
secondary
#7CB464
accent
#DA4E78
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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