#712BA0#712BA0

#712BA0 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.181 H 308.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#712BA0
RGBrgb(113, 43, 160)
HSLhsl(276, 58%, 40%)
HSVhsv(276, 73%, 63%)
CMYKcmyk(29.4%, 73.1%, 0%, 37.3%)
CIE-LABlab(33.51, 50.75, -50.34)
CIE-LCHlch(33.51, 71.48, 315.23°)
OKLaboklab(44.94% 0.1114 -0.1428)
OKLCHoklch(44.94% 0.181 308)
XYZxyz(14.0178, 7.7767, 34.0135)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BA0 #5AA02B
analogous
#362BA0 #712BA0 #A02B95
triadic
#712BA0 #A0712B #2BA071
tetradic
#712BA0 #A0362B #5AA02B #2B95A0
square
#712BA0 #A0362B #5AA02B #2B95A0
split-complementary
#712BA0 #95A02B #2BA036
monochromatic
#2D1140 #4F1E70 #712BA0 #923DCB #AD6ED8

Accessibility & contrast

On white

8.22
#712BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#712BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BA0
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BA0#FFFFFF#000000##FFFFFF
##712BA01.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#044F9E
Tritanopia (blue-blind)
#694663
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712ba0;
/* rgb */ color: rgb(113, 43, 160);
/* oklch */ color: oklch(44.9% 0.181 308.0);
Tailwind
colors: {
  custom: {
    50: '#9e6bbd',
    500: '#712ba0',
    950: '#000000',
  },
}
SCSS
$custom: #712ba0;
$custom-light: #9e6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#712ba0",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 275.897,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44944,
    "c": 0.18113,
    "h": 308
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#712BA0
secondary
#8BBF68
accent
#E14785
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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