#712A7D#712A7D

#712A7D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.147 H 321.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#712A7D
RGBrgb(113, 42, 125)
HSLhsl(291, 50%, 33%)
HSVhsv(291, 66%, 49%)
CMYKcmyk(9.6%, 66.4%, 0%, 51%)
CIE-LABlab(30.99, 43.59, -32.83)
CIE-LCHlch(30.99, 54.57, 323.02°)
OKLaboklab(42.39% 0.1154 -0.0915)
OKLCHoklch(42.39% 0.147 321.6)
XYZxyz(11.3393, 6.6479, 20.0840)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A7D #367D2A
analogous
#472A7D #712A7D #7D2A60
triadic
#712A7D #7D712A #2A7D71
tetradic
#712A7D #7D472A #367D2A #2A607D
square
#712A7D #7D472A #367D2A #2A607D
split-complementary
#712A7D #607D2A #2A7D47
monochromatic
#1E0B21 #481B4F #712A7D #9A39AB #B85AC8

Accessibility & contrast

On white

9.02
#712A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712A7D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A7D#FFFFFF#000000##FFFFFF
##712A7D1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15447F
Deuteranopia (green-blind)
#344C7B
Tritanopia (blue-blind)
#72384F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712a7d;
/* rgb */ color: rgb(113, 42, 125);
/* oklch */ color: oklch(42.4% 0.147 321.6);
Tailwind
colors: {
  custom: {
    50: '#9c69a3',
    500: '#712a7d',
    950: '#000000',
  },
}
SCSS
$custom: #712a7d;
$custom-light: #9c69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#712a7d",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 291.325,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42385,
    "c": 0.1473,
    "h": 321.6
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

primary
#712A7D
secondary
#62AD56
accent
#D94F63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #712A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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