#712B9F#712B9F

#712B9F is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.180 H 308.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#712B9F
RGBrgb(113, 43, 159)
HSLhsl(276, 57%, 40%)
HSVhsv(276, 73%, 62%)
CMYKcmyk(28.9%, 73%, 0%, 37.6%)
CIE-LABlab(33.44, 50.52, -49.85)
CIE-LCHlch(33.44, 70.97, 315.38°)
OKLaboklab(44.87% 0.1116 -0.1414)
OKLCHoklch(44.87% 0.18 308.3)
XYZxyz(13.9306, 7.7419, 33.5546)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B9F #599F2B
analogous
#372B9F #712B9F #9F2B93
triadic
#712B9F #9F712B #2B9F71
tetradic
#712B9F #9F372B #599F2B #2B939F
square
#712B9F #9F372B #599F2B #2B939F
split-complementary
#712B9F #939F2B #2B9F37
monochromatic
#2D113F #4F1E6F #712B9F #923DCA #AD6DD7

Accessibility & contrast

On white

8.24
#712B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712B9F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B9F#FFFFFF#000000##FFFFFF
##712B9F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#084F9D
Tritanopia (blue-blind)
#6A4662
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712b9f;
/* rgb */ color: rgb(113, 43, 159);
/* oklch */ color: oklch(44.9% 0.180 308.3);
Tailwind
colors: {
  custom: {
    50: '#9e6bbc',
    500: '#712b9f',
    950: '#000000',
  },
}
SCSS
$custom: #712b9f;
$custom-light: #9e6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#712b9f",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 276.207,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44868,
    "c": 0.18011,
    "h": 308.3
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#712B9F
secondary
#8ABE67
accent
#E14784
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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