#702C81#702C81

#702C81 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.148 H 319.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#702C81
RGBrgb(112, 44, 129)
HSLhsl(288, 49%, 34%)
HSVhsv(288, 66%, 51%)
CMYKcmyk(13.2%, 65.9%, 0%, 49.4%)
CIE-LABlab(31.42, 43.22, -34.66)
CIE-LCHlch(31.42, 55.40, 321.27°)
OKLaboklab(42.74% 0.1117 -0.0969)
OKLCHoklch(42.74% 0.148 319.1)
XYZxyz(11.5447, 6.8316, 21.4751)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C81 #3D812C
analogous
#462C81 #702C81 #812C68
triadic
#702C81 #81702C #2C8170
tetradic
#702C81 #81462C #3D812C #2C6881
square
#702C81 #81462C #3D812C #2C6881
split-complementary
#702C81 #68812C #2C8146
monochromatic
#210D26 #481C53 #702C81 #983CAF #B35FC8

Accessibility & contrast

On white

8.87
#702C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#702C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C81
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C81#FFFFFF#000000##FFFFFF
##702C811.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124584
Deuteranopia (green-blind)
#314C7F
Tritanopia (blue-blind)
#703B52
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702c81;
/* rgb */ color: rgb(112, 44, 129);
/* oklch */ color: oklch(42.7% 0.148 319.1);
Tailwind
colors: {
  custom: {
    50: '#9c6aa6',
    500: '#702c81',
    950: '#000000',
  },
}
SCSS
$custom: #702c81;
$custom-light: #9c6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#702c81",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 288,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42742,
    "c": 0.14783,
    "h": 319.1
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#702C81
secondary
#6BAF5A
accent
#D94F6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702C81

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

Preview Lab → · Contrast checker → · Palette generator →

#702C81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva