#712AA0#712AA0

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

Color values

HEX#712AA0
RGBrgb(113, 42, 160)
HSLhsl(276, 58%, 40%)
HSVhsv(276, 74%, 63%)
CMYKcmyk(29.4%, 73.8%, 0%, 37.3%)
CIE-LABlab(33.36, 51.18, -50.58)
CIE-LCHlch(33.36, 71.96, 315.34°)
OKLaboklab(44.84% 0.1124 -0.1435)
OKLCHoklch(44.84% 0.182 308.1)
XYZxyz(13.9819, 7.7049, 34.0015)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AA0 #59A02A
analogous
#362AA0 #712AA0 #A02A94
triadic
#712AA0 #A0712A #2AA071
tetradic
#712AA0 #A0362A #59A02A #2A94A0
square
#712AA0 #A0362A #59A02A #2A94A0
split-complementary
#712AA0 #94A02A #2AA036
monochromatic
#2D113F #4F1D70 #712AA0 #923CCC #AD6CD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712AA0#FFFFFF#000000##FFFFFF
##712AA01.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)
#004CA3
Deuteranopia (green-blind)
#014F9E
Tritanopia (blue-blind)
#6A4663
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #712aa0;
/* rgb */ color: rgb(113, 42, 160);
/* oklch */ color: oklch(44.8% 0.182 308.1);
Tailwind
colors: {
  custom: {
    50: '#9e6abd',
    500: '#712aa0',
    950: '#000000',
  },
}
SCSS
$custom: #712aa0;
$custom-light: #9e6abd;
$custom-dark: #000000;
JSON
{
  "hex": "#712aa0",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 276.102,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.18232,
    "h": 308.1
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#712AA0
secondary
#8ABF67
accent
#E24684
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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