#712899#712899

#712899 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.178 H 310.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#712899
RGBrgb(113, 40, 153)
HSLhsl(279, 59%, 38%)
HSVhsv(279, 74%, 60%)
CMYKcmyk(26.1%, 73.9%, 0%, 40%)
CIE-LABlab(32.54, 50.46, -47.66)
CIE-LCHlch(32.54, 69.40, 316.64°)
OKLaboklab(44.09% 0.1156 -0.1349)
OKLCHoklch(44.09% 0.178 310.6)
XYZxyz(13.3175, 7.3285, 30.8438)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712899 #509928
analogous
#382899 #712899 #992888
triadic
#712899 #997128 #289971
tetradic
#712899 #993828 #509928 #288899
square
#712899 #993828 #509928 #288899
split-complementary
#712899 #889928 #289938
monochromatic
#290F38 #4D1B68 #712899 #9535CA #AE65D7

Accessibility & contrast

On white

8.52
#712899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#712899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712899
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712899#FFFFFF#000000##FFFFFF
##7128991.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#134E97
Tritanopia (blue-blind)
#6C425E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712899;
/* rgb */ color: rgb(113, 40, 153);
/* oklch */ color: oklch(44.1% 0.178 310.6);
Tailwind
colors: {
  custom: {
    50: '#9e69b8',
    500: '#712899',
    950: '#000000',
  },
}
SCSS
$custom: #712899;
$custom-light: #9e69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#712899",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 278.761,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44093,
    "c": 0.17766,
    "h": 310.6
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#712899
secondary
#81BD60
accent
#E2467D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712899

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

Preview Lab → · Contrast checker → · Palette generator →

#712899 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva