#712F96#712F96

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

Color values

HEX#712F96
RGBrgb(113, 47, 150)
HSLhsl(278, 52%, 39%)
HSVhsv(278, 69%, 59%)
CMYKcmyk(24.7%, 68.7%, 0%, 41.2%)
CIE-LABlab(33.45, 46.64, -44.37)
CIE-LCHlch(33.45, 64.37, 316.43°)
OKLaboklab(44.67% 0.1084 -0.1253)
OKLCHoklch(44.67% 0.166 310.9)
XYZxyz(13.3305, 7.7461, 29.6412)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F96 #54962F
analogous
#3E2F96 #712F96 #962F87
triadic
#712F96 #96712F #2F9671
tetradic
#712F96 #963E2F #54962F #2F8796
square
#712F96 #963E2F #54962F #2F8796
split-complementary
#712F96 #87962F #2F963E
monochromatic
#2B1239 #4E2067 #712F96 #943FC3 #AE6ED2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712F96#FFFFFF#000000##FFFFFF
##712F961.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)
#004C99
Deuteranopia (green-blind)
#215094
Tritanopia (blue-blind)
#6C445E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712f96;
/* rgb */ color: rgb(113, 47, 150);
/* oklch */ color: oklch(44.7% 0.166 310.9);
Tailwind
colors: {
  custom: {
    50: '#9d6db5',
    500: '#712f96',
    950: '#000000',
  },
}
SCSS
$custom: #712f96;
$custom-light: #9d6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#712f96",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 278.447,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44671,
    "c": 0.16565,
    "h": 310.9
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#712F96
secondary
#85B968
accent
#DC4C80
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712F96

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

Preview Lab → · Contrast checker → · Palette generator →

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