#712E95#712E95

#712E95 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.166 H 311.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#712E95
RGBrgb(113, 46, 149)
HSLhsl(279, 53%, 38%)
HSVhsv(279, 69%, 58%)
CMYKcmyk(24.2%, 69.1%, 0%, 41.6%)
CIE-LABlab(33.21, 46.89, -44.14)
CIE-LCHlch(33.21, 64.39, 316.73°)
OKLaboklab(44.48% 0.1096 -0.1246)
OKLCHoklch(44.48% 0.166 311.3)
XYZxyz(13.2108, 7.6349, 29.2057)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712E95 #52952E
analogous
#3D2E95 #712E95 #952E85
triadic
#712E95 #95712E #2E9571
tetradic
#712E95 #953D2E #52952E #2E8595
square
#712E95 #953D2E #52952E #2E8595
split-complementary
#712E95 #85952E #2E953D
monochromatic
#2A1137 #4E2066 #712E95 #943DC3 #AE6CD2

Accessibility & contrast

On white

8.31
#712E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#712E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712E95
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712E95#FFFFFF#000000##FFFFFF
##712E951.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#224F93
Tritanopia (blue-blind)
#6D435E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #712e95;
/* rgb */ color: rgb(113, 46, 149);
/* oklch */ color: oklch(44.5% 0.166 311.3);
Tailwind
colors: {
  custom: {
    50: '#9d6cb5',
    500: '#712e95',
    950: '#000000',
  },
}
SCSS
$custom: #712e95;
$custom-light: #9d6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#712e95",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 279.029,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44479,
    "c": 0.16596,
    "h": 311.3
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#712E95
secondary
#83B966
accent
#DC4C7E
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712E95

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

Preview Lab → · Contrast checker → · Palette generator →

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