#712D9B#712D9B

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

Color values

HEX#712D9B
RGBrgb(113, 45, 155)
HSLhsl(277, 55%, 39%)
HSVhsv(277, 71%, 61%)
CMYKcmyk(27.1%, 71%, 0%, 39.2%)
CIE-LABlab(33.47, 48.71, -47.38)
CIE-LCHlch(33.47, 67.95, 315.79°)
OKLaboklab(44.79% 0.1101 -0.1341)
OKLCHoklch(44.79% 0.174 309.4)
XYZxyz(13.6637, 7.7543, 31.7809)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D9B #579B2D
analogous
#3A2D9B #712D9B #9B2D8E
triadic
#712D9B #9B712D #2D9B71
tetradic
#712D9B #9B3A2D #579B2D #2D8E9B
square
#712D9B #9B3A2D #579B2D #2D8E9B
split-complementary
#712D9B #8E9B2D #2D9B3A
monochromatic
#2C113C #4E1F6C #712D9B #933EC7 #AD6ED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712D9B#FFFFFF#000000##FFFFFF
##712D9B1.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)
#004C9E
Deuteranopia (green-blind)
#175099
Tritanopia (blue-blind)
#6B4561
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712d9b;
/* rgb */ color: rgb(113, 45, 155);
/* oklch */ color: oklch(44.8% 0.174 309.4);
Tailwind
colors: {
  custom: {
    50: '#9e6cb9',
    500: '#712d9b',
    950: '#000000',
  },
}
SCSS
$custom: #712d9b;
$custom-light: #9e6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#712d9b",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 277.091,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44794,
    "c": 0.17351,
    "h": 309.4
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#712D9B
secondary
#88BC68
accent
#DE4982
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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