#712E99#712E99

#712E99 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.170 H 309.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#712E99
RGBrgb(113, 46, 153)
HSLhsl(278, 54%, 39%)
HSVhsv(278, 70%, 60%)
CMYKcmyk(26.1%, 69.9%, 0%, 40%)
CIE-LABlab(33.49, 47.79, -46.13)
CIE-LCHlch(33.49, 66.42, 316.02°)
OKLaboklab(44.77% 0.1092 -0.1305)
OKLCHoklch(44.77% 0.17 309.9)
XYZxyz(13.5357, 7.7649, 30.9165)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712E99 #56992E
analogous
#3C2E99 #712E99 #992E8C
triadic
#712E99 #99712E #2E9971
tetradic
#712E99 #993C2E #56992E #2E8C99
square
#712E99 #993C2E #56992E #2E8C99
split-complementary
#712E99 #8C992E #2E993C
monochromatic
#2B123B #4E206A #712E99 #933FC5 #AD6ED3

Accessibility & contrast

On white

8.23
#712E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#712E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712E99
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712E99#FFFFFF#000000##FFFFFF
##712E991.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#1C5097
Tritanopia (blue-blind)
#6B4560
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712e99;
/* rgb */ color: rgb(113, 46, 153);
/* oklch */ color: oklch(44.8% 0.170 309.9);
Tailwind
colors: {
  custom: {
    50: '#9e6cb8',
    500: '#712e99',
    950: '#000000',
  },
}
SCSS
$custom: #712e99;
$custom-light: #9e6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#712e99",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 277.57,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44766,
    "c": 0.17013,
    "h": 309.9
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#712E99
secondary
#87BB68
accent
#DD4B81
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712E99

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

Preview Lab → · Contrast checker → · Palette generator →

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