#712C99#712C99

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

Color values

HEX#712C99
RGBrgb(113, 44, 153)
HSLhsl(278, 55%, 39%)
HSVhsv(278, 71%, 60%)
CMYKcmyk(26.1%, 71.2%, 0%, 40%)
CIE-LABlab(33.16, 48.71, -46.66)
CIE-LCHlch(33.16, 67.45, 316.23°)
OKLaboklab(44.53% 0.1114 -0.132)
OKLCHoklch(44.53% 0.173 310.2)
XYZxyz(13.4594, 7.6123, 30.8911)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C99 #54992C
analogous
#3A2C99 #712C99 #992C8A
triadic
#712C99 #99712C #2C9971
tetradic
#712C99 #993A2C #54992C #2C8A99
square
#712C99 #993A2C #54992C #2C8A99
split-complementary
#712C99 #8A992C #2C993A
monochromatic
#2B113A #4E1E69 #712C99 #943BC7 #AE6BD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712C99#FFFFFF#000000##FFFFFF
##712C991.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)
#004B9C
Deuteranopia (green-blind)
#194F97
Tritanopia (blue-blind)
#6B445F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #712c99;
/* rgb */ color: rgb(113, 44, 153);
/* oklch */ color: oklch(44.5% 0.173 310.2);
Tailwind
colors: {
  custom: {
    50: '#9e6bb8',
    500: '#712c99',
    950: '#000000',
  },
}
SCSS
$custom: #712c99;
$custom-light: #9e6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#712c99",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 277.982,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44533,
    "c": 0.17273,
    "h": 310.2
  },
  "luminance": 0.07612
}

Semantic roles & 50–950 ramp

primary
#712C99
secondary
#85BB66
accent
#DF4980
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712C99

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

Preview Lab → · Contrast checker → · Palette generator →

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