#712897#712897

#712897 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.176 H 311.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#712897
RGBrgb(113, 40, 151)
HSLhsl(279, 58%, 37%)
HSVhsv(279, 74%, 59%)
CMYKcmyk(25.2%, 73.5%, 0%, 40.8%)
CIE-LABlab(32.40, 50.01, -46.67)
CIE-LCHlch(32.40, 68.41, 316.98°)
OKLaboklab(43.94% 0.1159 -0.132)
OKLCHoklch(43.94% 0.176 311.3)
XYZxyz(13.1537, 7.2630, 29.9811)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712897 #4E9728
analogous
#392897 #712897 #972886
triadic
#712897 #977128 #289771
tetradic
#712897 #973928 #4E9728 #288697
square
#712897 #973928 #4E9728 #288697
split-complementary
#712897 #869728 #289739
monochromatic
#290E36 #4D1B67 #712897 #9535C7 #AF64D6

Accessibility & contrast

On white

8.56
#712897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#712897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712897
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712897#FFFFFF#000000##FFFFFF
##7128971.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#174D95
Tritanopia (blue-blind)
#6C415D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712897;
/* rgb */ color: rgb(113, 40, 151);
/* oklch */ color: oklch(43.9% 0.176 311.3);
Tailwind
colors: {
  custom: {
    50: '#9e69b6',
    500: '#712897',
    950: '#000000',
  },
}
SCSS
$custom: #712897;
$custom-light: #9e69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#712897",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 279.459,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43944,
    "c": 0.17567,
    "h": 311.3
  },
  "luminance": 0.07263
}

Semantic roles & 50–950 ramp

primary
#712897
secondary
#7FBC5F
accent
#E1467B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712897

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

Preview Lab → · Contrast checker → · Palette generator →

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