#712A95#712A95

#712A95 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.171 H 311.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#712A95
RGBrgb(113, 42, 149)
HSLhsl(280, 56%, 37%)
HSVhsv(280, 72%, 58%)
CMYKcmyk(24.2%, 71.8%, 0%, 41.6%)
CIE-LABlab(32.56, 48.70, -45.18)
CIE-LCHlch(32.56, 66.43, 317.15°)
OKLaboklab(44.02% 0.1141 -0.1277)
OKLCHoklch(44.02% 0.171 311.8)
XYZxyz(13.0618, 7.3369, 29.1560)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A95 #4E952A
analogous
#3B2A95 #712A95 #952A84
triadic
#712A95 #95712A #2A9571
tetradic
#712A95 #953B2A #4E952A #2A8495
square
#712A95 #953B2A #4E952A #2A8495
split-complementary
#712A95 #84952A #2A953B
monochromatic
#290F36 #4D1D65 #712A95 #9537C5 #AF66D4

Accessibility & contrast

On white

8.51
#712A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#712A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A95
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A95#FFFFFF#000000##FFFFFF
##712A951.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#1D4E93
Tritanopia (blue-blind)
#6D415C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712a95;
/* rgb */ color: rgb(113, 42, 149);
/* oklch */ color: oklch(44.0% 0.171 311.8);
Tailwind
colors: {
  custom: {
    50: '#9e6ab5',
    500: '#712a95',
    950: '#000000',
  },
}
SCSS
$custom: #712a95;
$custom-light: #9e6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#712a95",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 279.813,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44015,
    "c": 0.17119,
    "h": 311.8
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#712A95
secondary
#7FBA61
accent
#DF487B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712A95

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

Preview Lab → · Contrast checker → · Palette generator →

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