#712F8E#712F8E

#712F8E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.157 H 313.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#712F8E
RGBrgb(113, 47, 142)
HSLhsl(282, 50%, 37%)
HSVhsv(282, 67%, 56%)
CMYKcmyk(20.4%, 66.9%, 0%, 44.3%)
CIE-LABlab(32.91, 44.84, -40.32)
CIE-LCHlch(32.91, 60.31, 318.04°)
OKLaboklab(44.12% 0.1089 -0.1134)
OKLCHoklch(44.12% 0.157 313.8)
XYZxyz(12.7082, 7.4971, 26.3636)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F8E #4C8E2F
analogous
#412F8E #712F8E #8E2F7C
triadic
#712F8E #8E712F #2F8E71
tetradic
#712F8E #8E412F #4C8E2F #2F7C8E
square
#712F8E #8E412F #4C8E2F #2F7C8E
split-complementary
#712F8E #7C8E2F #2F8E41
monochromatic
#281132 #4C2060 #712F8E #963EBC #AF6ACE

Accessibility & contrast

On white

8.40
#712F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#712F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F8E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F8E#FFFFFF#000000##FFFFFF
##712F8E1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#6E415A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712f8e;
/* rgb */ color: rgb(113, 47, 142);
/* oklch */ color: oklch(44.1% 0.157 313.8);
Tailwind
colors: {
  custom: {
    50: '#9d6cb0',
    500: '#712f8e',
    950: '#000000',
  },
}
SCSS
$custom: #712f8e;
$custom-light: #9d6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#712f8e",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 281.684,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44115,
    "c": 0.15726,
    "h": 313.8
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#712F8E
secondary
#7DB564
accent
#DA4E79
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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