#702879#702879

#702879 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.146 H 323.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#702879
RGBrgb(112, 40, 121)
HSLhsl(293, 50%, 32%)
HSVhsv(293, 67%, 47%)
CMYKcmyk(7.4%, 66.9%, 0%, 52.5%)
CIE-LABlab(30.26, 43.45, -31.48)
CIE-LCHlch(30.26, 53.66, 324.08°)
OKLaboklab(41.75% 0.1166 -0.0876)
OKLCHoklch(41.75% 0.146 323.1)
XYZxyz(10.8917, 6.3434, 18.7362)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702879 #317928
analogous
#482879 #702879 #79285A
triadic
#702879 #797028 #287970
tetradic
#702879 #794828 #317928 #285A79
square
#702879 #794828 #317928 #285A79
split-complementary
#702879 #5A7928 #287948
monochromatic
#1B0A1D #45194B #702879 #9B37A7 #BA55C7

Accessibility & contrast

On white

9.26
#702879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#702879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702879
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702879#FFFFFF#000000##FFFFFF
##7028791.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427B
Deuteranopia (green-blind)
#344A77
Tritanopia (blue-blind)
#72354D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702879;
/* rgb */ color: rgb(112, 40, 121);
/* oklch */ color: oklch(41.7% 0.146 323.1);
Tailwind
colors: {
  custom: {
    50: '#9c68a0',
    500: '#702879',
    950: '#000000',
  },
}
SCSS
$custom: #702879;
$custom-light: #9c68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#702879",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 293.333,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41749,
    "c": 0.14584,
    "h": 323.1
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#702879
secondary
#5CAB52
accent
#DA4E5E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #702879

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

Preview Lab → · Contrast checker → · Palette generator →

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