#712997#712997

#712997 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.174 H 311.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#712997
RGBrgb(113, 41, 151)
HSLhsl(279, 57%, 38%)
HSVhsv(279, 73%, 59%)
CMYKcmyk(25.2%, 72.8%, 0%, 40.8%)
CIE-LABlab(32.55, 49.58, -46.42)
CIE-LCHlch(32.55, 67.93, 316.88°)
OKLaboklab(44.05% 0.1149 -0.1313)
OKLCHoklch(44.05% 0.174 311.2)
XYZxyz(13.1878, 7.3313, 29.9925)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712997 #4F9729
analogous
#3A2997 #712997 #972986
triadic
#712997 #977129 #299771
tetradic
#712997 #973A29 #4F9729 #298697
square
#712997 #973A29 #4F9729 #298697
split-complementary
#712997 #869729 #29973A
monochromatic
#290F37 #4D1C67 #712997 #9536C7 #AF65D5

Accessibility & contrast

On white

8.52
#712997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#712997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712997
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712997#FFFFFF#000000##FFFFFF
##7129971.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#184E95
Tritanopia (blue-blind)
#6C415D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712997;
/* rgb */ color: rgb(113, 41, 151);
/* oklch */ color: oklch(44.1% 0.174 311.2);
Tailwind
colors: {
  custom: {
    50: '#9e6ab6',
    500: '#712997',
    950: '#000000',
  },
}
SCSS
$custom: #712997;
$custom-light: #9e6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#712997",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 279.273,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44051,
    "c": 0.17445,
    "h": 311.2
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#712997
secondary
#80BB61
accent
#E1477C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712997

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

Preview Lab → · Contrast checker → · Palette generator →

#712997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva