#712B98#712B98

#712B98 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.173 H 310.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#712B98
RGBrgb(113, 43, 152)
HSLhsl(279, 56%, 38%)
HSVhsv(279, 72%, 60%)
CMYKcmyk(25.7%, 71.7%, 0%, 40.4%)
CIE-LABlab(32.93, 48.93, -46.42)
CIE-LCHlch(32.93, 67.45, 316.51°)
OKLaboklab(44.35% 0.1126 -0.1313)
OKLCHoklch(44.35% 0.173 310.6)
XYZxyz(13.3403, 7.5058, 30.4457)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B98 #52982B
analogous
#3A2B98 #712B98 #982B88
triadic
#712B98 #98712B #2B9871
tetradic
#712B98 #983A2B #52982B #2B8898
square
#712B98 #983A2B #52982B #2B8898
split-complementary
#712B98 #88982B #2B983A
monochromatic
#2A1039 #4E1E68 #712B98 #9439C7 #AE69D5

Accessibility & contrast

On white

8.40
#712B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#712B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B98
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B98#FFFFFF#000000##FFFFFF
##712B981.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#194F96
Tritanopia (blue-blind)
#6C435E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712b98;
/* rgb */ color: rgb(113, 43, 152);
/* oklch */ color: oklch(44.3% 0.173 310.6);
Tailwind
colors: {
  custom: {
    50: '#9e6bb7',
    500: '#712b98',
    950: '#000000',
  },
}
SCSS
$custom: #712b98;
$custom-light: #9e6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#712b98",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 278.532,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44346,
    "c": 0.17297,
    "h": 310.6
  },
  "luminance": 0.07505
}

Semantic roles & 50–950 ramp

primary
#712B98
secondary
#83BB64
accent
#DF497E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712B98

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

Preview Lab → · Contrast checker → · Palette generator →

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