#712F9D#712F9D

#712F9D is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.173 H 308.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#712F9D
RGBrgb(113, 47, 157)
HSLhsl(276, 54%, 40%)
HSVhsv(276, 70%, 62%)
CMYKcmyk(28%, 70.1%, 0%, 38.4%)
CIE-LABlab(33.94, 48.25, -47.83)
CIE-LCHlch(33.94, 67.94, 315.25°)
OKLaboklab(45.18% 0.1076 -0.1355)
OKLCHoklch(45.18% 0.173 308.5)
XYZxyz(13.9111, 7.9783, 32.6989)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F9D #5B9D2F
analogous
#3A2F9D #712F9D #9D2F92
triadic
#712F9D #9D712F #2F9D71
tetradic
#712F9D #9D3A2F #5B9D2F #2F929D
square
#712F9D #9D3A2F #5B9D2F #2F929D
split-complementary
#712F9D #929D2F #2F9D3A
monochromatic
#2D133F #4F216E #712F9D #9243C7 #AD72D5

Accessibility & contrast

On white

8.09
#712F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#712F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F9D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F9D#FFFFFF#000000##FFFFFF
##712F9D1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#16519B
Tritanopia (blue-blind)
#6A4762
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712f9d;
/* rgb */ color: rgb(113, 47, 157);
/* oklch */ color: oklch(45.2% 0.173 308.5);
Tailwind
colors: {
  custom: {
    50: '#9e6dbb',
    500: '#712f9d',
    950: '#000000',
  },
}
SCSS
$custom: #712f9d;
$custom-light: #9e6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#712f9d",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 276,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.45176,
    "c": 0.17301,
    "h": 308.5
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#712F9D
secondary
#8CBC6B
accent
#DD4B85
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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