#712A9A#712A9A

#712A9A is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.176 H 310.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#712A9A
RGBrgb(113, 42, 154)
HSLhsl(278, 57%, 38%)
HSVhsv(278, 73%, 60%)
CMYKcmyk(26.6%, 72.7%, 0%, 39.6%)
CIE-LABlab(32.92, 49.82, -47.66)
CIE-LCHlch(32.92, 68.95, 316.27°)
OKLaboklab(44.38% 0.1134 -0.1349)
OKLCHoklch(44.38% 0.176 310)
XYZxyz(13.4696, 7.5000, 31.3037)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A9A #539A2A
analogous
#392A9A #712A9A #9A2A8B
triadic
#712A9A #9A712A #2A9A71
tetradic
#712A9A #9A392A #539A2A #2A8B9A
square
#712A9A #9A392A #539A2A #2A8B9A
split-complementary
#712A9A #8B9A2A #2A9A39
monochromatic
#2A103A #4E1D6A #712A9A #9438C9 #AE68D6

Accessibility & contrast

On white

8.40
#712A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#712A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A9A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A9A#FFFFFF#000000##FFFFFF
##712A9A1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#144E98
Tritanopia (blue-blind)
#6B435F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712a9a;
/* rgb */ color: rgb(113, 42, 154);
/* oklch */ color: oklch(44.4% 0.176 310.0);
Tailwind
colors: {
  custom: {
    50: '#9e6ab8',
    500: '#712a9a',
    950: '#000000',
  },
}
SCSS
$custom: #712a9a;
$custom-light: #9e6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#712a9a",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 278.036,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44382,
    "c": 0.17624,
    "h": 310
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#712A9A
secondary
#84BC63
accent
#E0477F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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