#712F94#712F94

#712F94 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.164 H 311.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#712F94
RGBrgb(113, 47, 148)
HSLhsl(279, 52%, 38%)
HSVhsv(279, 68%, 58%)
CMYKcmyk(23.6%, 68.2%, 0%, 42%)
CIE-LABlab(33.31, 46.19, -43.36)
CIE-LCHlch(33.31, 63.35, 316.81°)
OKLaboklab(44.53% 0.1085 -0.1223)
OKLCHoklch(44.53% 0.164 311.6)
XYZxyz(13.1709, 7.6822, 28.8002)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F94 #52942F
analogous
#3E2F94 #712F94 #942F84
triadic
#712F94 #94712F #2F9471
tetradic
#712F94 #943E2F #52942F #2F8494
square
#712F94 #943E2F #52942F #2F8494
split-complementary
#712F94 #84942F #2F943E
monochromatic
#2A1137 #4E2066 #712F94 #943EC2 #AE6DD1

Accessibility & contrast

On white

8.28
#712F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#712F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F94
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F94#FFFFFF#000000##FFFFFF
##712F941.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#245092
Tritanopia (blue-blind)
#6D445D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #712f94;
/* rgb */ color: rgb(113, 47, 148);
/* oklch */ color: oklch(44.5% 0.164 311.6);
Tailwind
colors: {
  custom: {
    50: '#9d6db4',
    500: '#712f94',
    950: '#000000',
  },
}
SCSS
$custom: #712f94;
$custom-light: #9d6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#712f94",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 279.208,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44529,
    "c": 0.16354,
    "h": 311.6
  },
  "luminance": 0.07682
}

Semantic roles & 50–950 ramp

primary
#712F94
secondary
#83B867
accent
#DB4D7E
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712F94

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

Preview Lab → · Contrast checker → · Palette generator →

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