#702877#702877

#702877 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.6% C 0.144 H 324.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#702877
RGBrgb(112, 40, 119)
HSLhsl(295, 50%, 31%)
HSVhsv(295, 66%, 47%)
CMYKcmyk(5.9%, 66.4%, 0%, 53.3%)
CIE-LABlab(30.14, 43.06, -30.40)
CIE-LCHlch(30.14, 52.71, 324.77°)
OKLaboklab(41.63% 0.1166 -0.0844)
OKLCHoklch(41.63% 0.144 324.1)
XYZxyz(10.7704, 6.2949, 18.0969)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702877 #2F7728
analogous
#482877 #702877 #772856
triadic
#702877 #777028 #287770
tetradic
#702877 #774828 #2F7728 #285677
square
#702877 #774828 #2F7728 #285677
split-complementary
#702877 #567728 #287748
monochromatic
#1A091B #451949 #702877 #9B37A5 #BB54C5

Accessibility & contrast

On white

9.30
#702877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#702877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702877
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702877#FFFFFF#000000##FFFFFF
##7028771.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184179
Deuteranopia (green-blind)
#354A75
Tritanopia (blue-blind)
#72344C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702877;
/* rgb */ color: rgb(112, 40, 119);
/* oklch */ color: oklch(41.6% 0.144 324.1);
Tailwind
colors: {
  custom: {
    50: '#9c689e',
    500: '#702877',
    950: '#000000',
  },
}
SCSS
$custom: #702877;
$custom-light: #9c689e;
$custom-dark: #000000;
JSON
{
  "hex": "#702877",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 294.684,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41626,
    "c": 0.14394,
    "h": 324.1
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#702877
secondary
#5AA952
accent
#D94F5B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #702877

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

Preview Lab → · Contrast checker → · Palette generator →

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