#712A99#712A99

#712A99 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.175 H 310.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#712A99
RGBrgb(113, 42, 153)
HSLhsl(278, 57%, 38%)
HSVhsv(278, 73%, 60%)
CMYKcmyk(26.1%, 72.5%, 0%, 40%)
CIE-LABlab(32.85, 49.60, -47.16)
CIE-LCHlch(32.85, 68.44, 316.44°)
OKLaboklab(44.31% 0.1135 -0.1335)
OKLCHoklch(44.31% 0.175 310.4)
XYZxyz(13.3867, 7.4668, 30.8669)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A99 #52992A
analogous
#392A99 #712A99 #992A89
triadic
#712A99 #99712A #2A9971
tetradic
#712A99 #99392A #52992A #2A8999
square
#712A99 #99392A #52992A #2A8999
split-complementary
#712A99 #89992A #2A9939
monochromatic
#2A1039 #4E1D69 #712A99 #9438C8 #AE68D6

Accessibility & contrast

On white

8.42
#712A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#712A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A99
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A99#FFFFFF#000000##FFFFFF
##712A991.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#164E97
Tritanopia (blue-blind)
#6C435F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712a99;
/* rgb */ color: rgb(113, 42, 153);
/* oklch */ color: oklch(44.3% 0.175 310.4);
Tailwind
colors: {
  custom: {
    50: '#9e6ab8',
    500: '#712a99',
    950: '#000000',
  },
}
SCSS
$custom: #712a99;
$custom-light: #9e6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#712a99",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 278.378,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44308,
    "c": 0.17524,
    "h": 310.4
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#712A99
secondary
#83BC63
accent
#E0487F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712A99

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

Preview Lab → · Contrast checker → · Palette generator →

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