#712B9E#712B9E

#712B9E is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.179 H 308.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#712B9E
RGBrgb(113, 43, 158)
HSLhsl(277, 57%, 39%)
HSVhsv(277, 73%, 62%)
CMYKcmyk(28.5%, 72.8%, 0%, 38%)
CIE-LABlab(33.37, 50.29, -49.36)
CIE-LCHlch(33.37, 70.47, 315.53°)
OKLaboklab(44.79% 0.1118 -0.1399)
OKLCHoklch(44.79% 0.179 308.6)
XYZxyz(13.8442, 7.7073, 33.0995)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B9E #589E2B
analogous
#382B9E #712B9E #9E2B92
triadic
#712B9E #9E712B #2B9E71
tetradic
#712B9E #9E382B #589E2B #2B929E
square
#712B9E #9E382B #589E2B #2B929E
split-complementary
#712B9E #929E2B #2B9E38
monochromatic
#2C113E #4F1E6E #712B9E #933CCA #AD6CD7

Accessibility & contrast

On white

8.26
#712B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#712B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B9E
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B9E#FFFFFF#000000##FFFFFF
##712B9E1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#0B4F9C
Tritanopia (blue-blind)
#6A4562
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #712b9e;
/* rgb */ color: rgb(113, 43, 158);
/* oklch */ color: oklch(44.8% 0.179 308.6);
Tailwind
colors: {
  custom: {
    50: '#9e6bbb',
    500: '#712b9e',
    950: '#000000',
  },
}
SCSS
$custom: #712b9e;
$custom-light: #9e6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#712b9e",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 276.522,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44792,
    "c": 0.17909,
    "h": 308.6
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#712B9E
secondary
#89BE67
accent
#E04783
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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