#712A7C#712A7C

#712A7C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.146 H 322.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#712A7C
RGBrgb(113, 42, 124)
HSLhsl(292, 49%, 33%)
HSVhsv(292, 66%, 49%)
CMYKcmyk(8.9%, 66.1%, 0%, 51.4%)
CIE-LABlab(30.93, 43.39, -32.30)
CIE-LCHlch(30.93, 54.09, 323.34°)
OKLaboklab(42.32% 0.1154 -0.0899)
OKLCHoklch(42.32% 0.146 322.1)
XYZxyz(11.2757, 6.6225, 19.7492)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A7C #357C2A
analogous
#482A7C #712A7C #7C2A5E
triadic
#712A7C #7C712A #2A7C71
tetradic
#712A7C #7C482A #357C2A #2A5E7C
square
#712A7C #7C482A #357C2A #2A5E7C
split-complementary
#712A7C #5E7C2A #2A7C48
monochromatic
#1E0B21 #471B4E #712A7C #9B39AA #B859C7

Accessibility & contrast

On white

9.03
#712A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#712A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A7C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A7C#FFFFFF#000000##FFFFFF
##712A7C1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447E
Deuteranopia (green-blind)
#344C7A
Tritanopia (blue-blind)
#72374F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712a7c;
/* rgb */ color: rgb(113, 42, 124);
/* oklch */ color: oklch(42.3% 0.146 322.1);
Tailwind
colors: {
  custom: {
    50: '#9c69a2',
    500: '#712a7c',
    950: '#000000',
  },
}
SCSS
$custom: #712a7c;
$custom-light: #9c69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#712a7c",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 291.951,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42322,
    "c": 0.14632,
    "h": 322.1
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#712A7C
secondary
#61AD55
accent
#D94F61
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #712A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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