#712F9A#712F9A

#712F9A is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.170 H 309.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#712F9A
RGBrgb(113, 47, 154)
HSLhsl(277, 53%, 39%)
HSVhsv(277, 69%, 60%)
CMYKcmyk(26.6%, 69.5%, 0%, 39.6%)
CIE-LABlab(33.73, 47.56, -46.35)
CIE-LCHlch(33.73, 66.41, 315.73°)
OKLaboklab(44.96% 0.108 -0.1311)
OKLCHoklch(44.96% 0.17 309.5)
XYZxyz(13.6581, 7.8771, 31.3665)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F9A #589A2F
analogous
#3B2F9A #712F9A #9A2F8E
triadic
#712F9A #9A712F #2F9A71
tetradic
#712F9A #9A3B2F #589A2F #2F8E9A
square
#712F9A #9A3B2F #589A2F #2F8E9A
split-complementary
#712F9A #8E9A2F #2F9A3B
monochromatic
#2C123C #4F216B #712F9A #9341C5 #AD70D3

Accessibility & contrast

On white

8.15
#712F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#712F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F9A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F9A#FFFFFF#000000##FFFFFF
##712F9A1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#1C5098
Tritanopia (blue-blind)
#6B4661
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712f9a;
/* rgb */ color: rgb(113, 47, 154);
/* oklch */ color: oklch(45.0% 0.170 309.5);
Tailwind
colors: {
  custom: {
    50: '#9e6db8',
    500: '#712f9a',
    950: '#000000',
  },
}
SCSS
$custom: #712f9a;
$custom-light: #9e6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#712f9a",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 277.009,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44958,
    "c": 0.16985,
    "h": 309.5
  },
  "luminance": 0.07877
}

Semantic roles & 50–950 ramp

primary
#712F9A
secondary
#89BB6A
accent
#DD4B83
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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