#712AA1#712AA1

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

Color values

HEX#712AA1
RGBrgb(113, 42, 161)
HSLhsl(276, 59%, 40%)
HSVhsv(276, 74%, 63%)
CMYKcmyk(29.8%, 73.9%, 0%, 36.9%)
CIE-LABlab(33.44, 51.41, -51.07)
CIE-LCHlch(33.44, 72.46, 315.19°)
OKLaboklab(44.91% 0.1123 -0.1449)
OKLCHoklch(44.91% 0.183 307.8)
XYZxyz(14.0697, 7.7401, 34.4641)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AA1 #5AA12A
analogous
#352AA1 #712AA1 #A12A96
triadic
#712AA1 #A1712A #2AA171
tetradic
#712AA1 #A1352A #5AA12A #2A96A1
square
#712AA1 #A1352A #5AA12A #2A96A1
split-complementary
#712AA1 #96A12A #2AA135
monochromatic
#2D1140 #4F1D70 #712AA1 #923CCC #AD6DD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712AA1#FFFFFF#000000##FFFFFF
##712AA11.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)
#004CA4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#694663
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712aa1;
/* rgb */ color: rgb(113, 42, 161);
/* oklch */ color: oklch(44.9% 0.183 307.8);
Tailwind
colors: {
  custom: {
    50: '#9e6bbe',
    500: '#712aa1',
    950: '#000000',
  },
}
SCSS
$custom: #712aa1;
$custom-light: #9e6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#712aa1",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 275.798,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.18334,
    "h": 307.8
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#712AA1
secondary
#8BC067
accent
#E24685
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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