#712A9F#712A9F

#712A9F is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.181 H 308.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#712A9F
RGBrgb(113, 42, 159)
HSLhsl(276, 58%, 39%)
HSVhsv(276, 74%, 62%)
CMYKcmyk(28.9%, 73.6%, 0%, 37.6%)
CIE-LABlab(33.29, 50.95, -50.10)
CIE-LCHlch(33.29, 71.46, 315.48°)
OKLaboklab(44.76% 0.1126 -0.1421)
OKLCHoklch(44.76% 0.181 308.4)
XYZxyz(13.8947, 7.6701, 33.5427)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A9F #589F2A
analogous
#362A9F #712A9F #9F2A93
triadic
#712A9F #9F712A #2A9F71
tetradic
#712A9F #9F362A #589F2A #2A939F
square
#712A9F #9F362A #589F2A #2A939F
split-complementary
#712A9F #939F2A #2A9F36
monochromatic
#2C103E #4F1D6F #712A9F #933BCB #AD6BD8

Accessibility & contrast

On white

8.29
#712A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#712A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A9F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A9F#FFFFFF#000000##FFFFFF
##712A9F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#054F9D
Tritanopia (blue-blind)
#6A4562
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #712a9f;
/* rgb */ color: rgb(113, 42, 159);
/* oklch */ color: oklch(44.8% 0.181 308.4);
Tailwind
colors: {
  custom: {
    50: '#9e6abc',
    500: '#712a9f',
    950: '#000000',
  },
}
SCSS
$custom: #712a9f;
$custom-light: #9e6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#712a9f",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 276.41,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44759,
    "c": 0.18131,
    "h": 308.4
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#712A9F
secondary
#89BF66
accent
#E14683
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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