#712A7E#712A7E

#712A7E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.148 H 321.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#712A7E
RGBrgb(113, 42, 126)
HSLhsl(291, 50%, 33%)
HSVhsv(291, 67%, 49%)
CMYKcmyk(10.3%, 66.7%, 0%, 50.6%)
CIE-LABlab(31.05, 43.80, -33.36)
CIE-LCHlch(31.05, 55.05, 322.70°)
OKLaboklab(42.45% 0.1154 -0.093)
OKLCHoklch(42.45% 0.148 321.1)
XYZxyz(11.4035, 6.6736, 20.4221)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A7E #377E2A
analogous
#472A7E #712A7E #7E2A61
triadic
#712A7E #7E712A #2A7E71
tetradic
#712A7E #7E472A #377E2A #2A617E
square
#712A7E #7E472A #377E2A #2A617E
split-complementary
#712A7E #617E2A #2A7E47
monochromatic
#1F0B22 #481B50 #712A7E #9A39AC #B75AC8

Accessibility & contrast

On white

9.00
#712A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#712A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A7E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A7E#FFFFFF#000000##FFFFFF
##712A7E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144481
Deuteranopia (green-blind)
#334C7C
Tritanopia (blue-blind)
#723850
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712a7e;
/* rgb */ color: rgb(113, 42, 126);
/* oklch */ color: oklch(42.4% 0.148 321.1);
Tailwind
colors: {
  custom: {
    50: '#9c69a4',
    500: '#712a7e',
    950: '#000000',
  },
}
SCSS
$custom: #712a7e;
$custom-light: #9c69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#712a7e",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 290.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42448,
    "c": 0.14827,
    "h": 321.1
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#712A7E
secondary
#64AE56
accent
#DA4E64
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #712A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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