#712F7B#712F7B

#712F7B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 42.9% C 0.138 H 322.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#712F7B
RGBrgb(113, 47, 123)
HSLhsl(292, 45%, 33%)
HSVhsv(292, 62%, 48%)
CMYKcmyk(8.1%, 61.8%, 0%, 51.8%)
CIE-LABlab(31.75, 40.78, -30.37)
CIE-LCHlch(31.75, 50.85, 323.32°)
OKLaboklab(42.9% 0.1088 -0.0844)
OKLCHoklch(42.9% 0.138 322.2)
XYZxyz(11.4013, 6.9744, 19.4807)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F7B #397B2F
analogous
#4B2F7B #712F7B #7B2F5F
triadic
#712F7B #7B712F #2F7B71
tetradic
#712F7B #7B4B2F #397B2F #2F5F7B
square
#712F7B #7B4B2F #397B2F #2F5F7B
split-complementary
#712F7B #5F7B2F #2F7B4B
monochromatic
#200D22 #481E4F #712F7B #9A40A7 #B662C3

Accessibility & contrast

On white

8.77
#712F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#712F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F7B
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F7B#FFFFFF#000000##FFFFFF
##712F7B1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467D
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#723A50
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712f7b;
/* rgb */ color: rgb(113, 47, 123);
/* oklch */ color: oklch(42.9% 0.138 322.2);
Tailwind
colors: {
  custom: {
    50: '#9c6ca1',
    500: '#712f7b',
    950: '#000000',
  },
}
SCSS
$custom: #712f7b;
$custom-light: #9c6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#712f7b",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 292.105,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42896,
    "c": 0.13771,
    "h": 322.2
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#712F7B
secondary
#66AA5C
accent
#D45364
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #712F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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