#712A7F#712A7F

#712A7F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.149 H 320.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#712A7F
RGBrgb(113, 42, 127)
HSLhsl(290, 50%, 33%)
HSVhsv(290, 67%, 50%)
CMYKcmyk(11%, 66.9%, 0%, 50.2%)
CIE-LABlab(31.11, 44.00, -33.89)
CIE-LCHlch(31.11, 55.54, 322.40°)
OKLaboklab(42.51% 0.1155 -0.0946)
OKLCHoklch(42.51% 0.149 320.7)
XYZxyz(11.4683, 6.6995, 20.7636)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A7F #387F2A
analogous
#462A7F #712A7F #7F2A62
triadic
#712A7F #7F712A #2A7F71
tetradic
#712A7F #7F462A #387F2A #2A627F
square
#712A7F #7F462A #387F2A #2A627F
split-complementary
#712A7F #627F2A #2A7F46
monochromatic
#1F0C23 #481B51 #712A7F #9A39AD #B75BC9

Accessibility & contrast

On white

8.98
#712A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#712A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A7F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A7F#FFFFFF#000000##FFFFFF
##712A7F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124482
Deuteranopia (green-blind)
#324C7D
Tritanopia (blue-blind)
#723851
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712a7f;
/* rgb */ color: rgb(113, 42, 127);
/* oklch */ color: oklch(42.5% 0.149 320.7);
Tailwind
colors: {
  custom: {
    50: '#9c69a4',
    500: '#712a7f',
    950: '#000000',
  },
}
SCSS
$custom: #712a7f;
$custom-light: #9c69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#712a7f",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 290.118,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42512,
    "c": 0.14925,
    "h": 320.7
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#712A7F
secondary
#65AE57
accent
#DA4E65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #712A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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