#712795#712795

#712795 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.175 H 312.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#712795
RGBrgb(113, 39, 149)
HSLhsl(280, 59%, 37%)
HSVhsv(280, 74%, 58%)
CMYKcmyk(24.2%, 73.8%, 0%, 41.6%)
CIE-LABlab(32.11, 50.00, -45.92)
CIE-LCHlch(32.11, 67.88, 317.43°)
OKLaboklab(43.69% 0.1172 -0.1298)
OKLCHoklch(43.69% 0.175 312.1)
XYZxyz(12.9594, 7.1320, 29.1219)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712795 #4B9527
analogous
#3A2795 #712795 #952782
triadic
#712795 #957127 #279571
tetradic
#712795 #953A27 #4B9527 #278295
square
#712795 #953A27 #4B9527 #278295
split-complementary
#712795 #829527 #27953A
monochromatic
#270E34 #4C1A64 #712795 #9634C6 #AF61D6

Accessibility & contrast

On white

8.65
#712795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#712795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712795
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712795#FFFFFF#000000##FFFFFF
##7127951.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#194D93
Tritanopia (blue-blind)
#6D3F5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712795;
/* rgb */ color: rgb(113, 39, 149);
/* oklch */ color: oklch(43.7% 0.175 312.1);
Tailwind
colors: {
  custom: {
    50: '#9e68b5',
    500: '#712795',
    950: '#000000',
  },
}
SCSS
$custom: #712795;
$custom-light: #9e68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#712795",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 280.364,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4369,
    "c": 0.1749,
    "h": 312.1
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#712795
secondary
#7CBB5D
accent
#E24679
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712795

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

Preview Lab → · Contrast checker → · Palette generator →

#712795 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva