#712A9B#712A9B

#712A9B is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.177 H 309.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#712A9B
RGBrgb(113, 42, 155)
HSLhsl(278, 57%, 39%)
HSVhsv(278, 73%, 61%)
CMYKcmyk(27.1%, 72.9%, 0%, 39.2%)
CIE-LABlab(32.99, 50.05, -48.15)
CIE-LCHlch(32.99, 69.45, 316.11°)
OKLaboklab(44.46% 0.1132 -0.1364)
OKLCHoklch(44.46% 0.177 309.7)
XYZxyz(13.5532, 7.5335, 31.7441)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A9B #549B2A
analogous
#382A9B #712A9B #9B2A8C
triadic
#712A9B #9B712A #2A9B71
tetradic
#712A9B #9B382A #549B2A #2A8C9B
square
#712A9B #9B382A #549B2A #2A8C9B
split-complementary
#712A9B #8C9B2A #2A9B38
monochromatic
#2B103B #4E1D6B #712A9B #9439C9 #AE69D6

Accessibility & contrast

On white

8.38
#712A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#712A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A9B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A9B#FFFFFF#000000##FFFFFF
##712A9B1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#124F99
Tritanopia (blue-blind)
#6B4460
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #712a9b;
/* rgb */ color: rgb(113, 42, 155);
/* oklch */ color: oklch(44.5% 0.177 309.7);
Tailwind
colors: {
  custom: {
    50: '#9e6ab9',
    500: '#712a9b',
    950: '#000000',
  },
}
SCSS
$custom: #712a9b;
$custom-light: #9e6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#712a9b",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 277.699,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44457,
    "c": 0.17726,
    "h": 309.7
  },
  "luminance": 0.07533
}

Semantic roles & 50–950 ramp

primary
#712A9B
secondary
#85BD64
accent
#E14780
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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