#712F8B#712F8B

#712F8B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.154 H 315.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#712F8B
RGBrgb(113, 47, 139)
HSLhsl(283, 49%, 36%)
HSVhsv(283, 66%, 55%)
CMYKcmyk(18.7%, 66.2%, 0%, 45.5%)
CIE-LABlab(32.72, 44.18, -38.79)
CIE-LCHlch(32.72, 58.79, 318.72°)
OKLaboklab(43.91% 0.109 -0.1089)
OKLCHoklch(43.91% 0.154 315)
XYZxyz(12.4860, 7.4082, 25.1933)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F8B #498B2F
analogous
#432F8B #712F8B #8B2F77
triadic
#712F8B #8B712F #2F8B71
tetradic
#712F8B #8B432F #498B2F #2F778B
square
#712F8B #8B432F #498B2F #2F778B
split-complementary
#712F8B #778B2F #2F8B43
monochromatic
#271030 #4C205D #712F8B #963EB9 #B068CC

Accessibility & contrast

On white

8.46
#712F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#712F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F8B
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F8B#FFFFFF#000000##FFFFFF
##712F8B1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07498E
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#6F4059
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712f8b;
/* rgb */ color: rgb(113, 47, 139);
/* oklch */ color: oklch(43.9% 0.154 315.0);
Tailwind
colors: {
  custom: {
    50: '#9d6cad',
    500: '#712f8b',
    950: '#000000',
  },
}
SCSS
$custom: #712f8b;
$custom-light: #9d6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#712f8b",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 283.043,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.15413,
    "h": 315
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#712F8B
secondary
#79B363
accent
#D94F76
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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