#712998#712998

#712998 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.175 H 310.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#712998
RGBrgb(113, 41, 152)
HSLhsl(279, 58%, 38%)
HSVhsv(279, 73%, 60%)
CMYKcmyk(25.7%, 73%, 0%, 40.4%)
CIE-LABlab(32.62, 49.81, -46.92)
CIE-LCHlch(32.62, 68.43, 316.71°)
OKLaboklab(44.13% 0.1147 -0.1327)
OKLCHoklch(44.13% 0.175 310.8)
XYZxyz(13.2694, 7.3639, 30.4220)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712998 #509829
analogous
#392998 #712998 #982987
triadic
#712998 #987129 #299871
tetradic
#712998 #983929 #509829 #298798
square
#712998 #983929 #509829 #298798
split-complementary
#712998 #879829 #299839
monochromatic
#290F38 #4D1C68 #712998 #9536C8 #AE66D6

Accessibility & contrast

On white

8.49
#712998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712998
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712998#FFFFFF#000000##FFFFFF
##7129981.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#164E96
Tritanopia (blue-blind)
#6C425E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712998;
/* rgb */ color: rgb(113, 41, 152);
/* oklch */ color: oklch(44.1% 0.175 310.8);
Tailwind
colors: {
  custom: {
    50: '#9e6ab7',
    500: '#712998',
    950: '#000000',
  },
}
SCSS
$custom: #712998;
$custom-light: #9e6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#712998",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 278.919,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44125,
    "c": 0.17545,
    "h": 310.8
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

primary
#712998
secondary
#81BC61
accent
#E1477D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712998

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

Preview Lab → · Contrast checker → · Palette generator →

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