#712E97#712E97

#712E97 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.168 H 310.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#712E97
RGBrgb(113, 46, 151)
HSLhsl(278, 53%, 39%)
HSVhsv(278, 70%, 59%)
CMYKcmyk(25.2%, 69.5%, 0%, 40.8%)
CIE-LABlab(33.35, 47.34, -45.14)
CIE-LCHlch(33.35, 65.41, 316.36°)
OKLaboklab(44.62% 0.1094 -0.1275)
OKLCHoklch(44.62% 0.168 310.6)
XYZxyz(13.3719, 7.6994, 30.0539)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712E97 #54972E
analogous
#3D2E97 #712E97 #972E88
triadic
#712E97 #97712E #2E9771
tetradic
#712E97 #973D2E #54972E #2E8897
square
#712E97 #973D2E #54972E #2E8897
split-complementary
#712E97 #88972E #2E973D
monochromatic
#2B1139 #4E2068 #712E97 #943EC4 #AE6DD2

Accessibility & contrast

On white

8.27
#712E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712E97
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712E97#FFFFFF#000000##FFFFFF
##712E971.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#1F5095
Tritanopia (blue-blind)
#6C445F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #712e97;
/* rgb */ color: rgb(113, 46, 151);
/* oklch */ color: oklch(44.6% 0.168 310.6);
Tailwind
colors: {
  custom: {
    50: '#9d6cb6',
    500: '#712e97',
    950: '#000000',
  },
}
SCSS
$custom: #712e97;
$custom-light: #9d6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#712e97",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 278.286,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44621,
    "c": 0.16804,
    "h": 310.6
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#712E97
secondary
#85BA67
accent
#DD4B80
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712E97

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

Preview Lab → · Contrast checker → · Palette generator →

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