#712F9F#712F9F

#712F9F is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.175 H 307.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#712F9F
RGBrgb(113, 47, 159)
HSLhsl(275, 54%, 40%)
HSVhsv(275, 70%, 62%)
CMYKcmyk(28.9%, 70.4%, 0%, 37.6%)
CIE-LABlab(34.08, 48.72, -48.81)
CIE-LCHlch(34.08, 68.96, 314.94°)
OKLaboklab(45.32% 0.1074 -0.1383)
OKLCHoklch(45.32% 0.175 307.8)
XYZxyz(14.0833, 8.0471, 33.6055)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F9F #5D9F2F
analogous
#392F9F #712F9F #9F2F95
triadic
#712F9F #9F712F #2F9F71
tetradic
#712F9F #9F392F #5D9F2F #2F959F
square
#712F9F #9F392F #5D9F2F #2F959F
split-complementary
#712F9F #959F2F #2F9F39
monochromatic
#2E1341 #4F2170 #712F9F #9144C8 #AD73D6

Accessibility & contrast

On white

8.05
#712F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#712F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F9F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F9F#FFFFFF#000000##FFFFFF
##712F9F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#12519D
Tritanopia (blue-blind)
#6A4863
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712f9f;
/* rgb */ color: rgb(113, 47, 159);
/* oklch */ color: oklch(45.3% 0.175 307.8);
Tailwind
colors: {
  custom: {
    50: '#9e6dbc',
    500: '#712f9f',
    950: '#000000',
  },
}
SCSS
$custom: #712f9f;
$custom-light: #9e6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#712f9f",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 275.357,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45324,
    "c": 0.17512,
    "h": 307.8
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#712F9F
secondary
#8EBD6D
accent
#DE4A87
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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