#712A9D#712A9D

#712A9D is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.179 H 309.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#712A9D
RGBrgb(113, 42, 157)
HSLhsl(277, 58%, 39%)
HSVhsv(277, 73%, 62%)
CMYKcmyk(28%, 73.2%, 0%, 38.4%)
CIE-LABlab(33.14, 50.50, -49.13)
CIE-LCHlch(33.14, 70.45, 315.79°)
OKLaboklab(44.61% 0.1129 -0.1392)
OKLCHoklch(44.61% 0.179 309)
XYZxyz(13.7226, 7.6012, 32.6360)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A9D #569D2A
analogous
#372A9D #712A9D #9D2A90
triadic
#712A9D #9D712A #2A9D71
tetradic
#712A9D #9D372A #569D2A #2A909D
square
#712A9D #9D372A #569D2A #2A909D
split-complementary
#712A9D #909D2A #2A9D37
monochromatic
#2B103C #4E1D6D #712A9D #933ACA #AD6AD7

Accessibility & contrast

On white

8.33
#712A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#712A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A9D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A9D#FFFFFF#000000##FFFFFF
##712A9D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#0C4F9B
Tritanopia (blue-blind)
#6A4461
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #712a9d;
/* rgb */ color: rgb(113, 42, 157);
/* oklch */ color: oklch(44.6% 0.179 309.0);
Tailwind
colors: {
  custom: {
    50: '#9e6abb',
    500: '#712a9d',
    950: '#000000',
  },
}
SCSS
$custom: #712a9d;
$custom-light: #9e6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#712a9d",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 277.043,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44607,
    "c": 0.17929,
    "h": 309
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#712A9D
secondary
#87BE65
accent
#E14782
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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