#702C71#702C71

#702C71 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.8% C 0.132 H 327.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#702C71
RGBrgb(112, 44, 113)
HSLhsl(299, 44%, 31%)
HSVhsv(299, 61%, 44%)
CMYKcmyk(0.9%, 61.1%, 0%, 55.7%)
CIE-LABlab(30.49, 39.99, -26.05)
CIE-LCHlch(30.49, 47.72, 326.92°)
OKLaboklab(41.77% 0.1109 -0.0719)
OKLCHoklch(41.77% 0.132 327.1)
XYZxyz(10.5632, 6.4390, 16.3061)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C71 #2D712C
analogous
#4D2C71 #702C71 #712C4F
triadic
#702C71 #71702C #2C7170
tetradic
#702C71 #714D2C #2D712C #2C4F71
square
#702C71 #714D2C #2D712C #2C4F71
split-complementary
#702C71 #4F712C #2C714D
monochromatic
#190A19 #441B45 #702C71 #9C3D9D #BD59BE

Accessibility & contrast

On white

9.18
#702C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#702C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C71
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C71#FFFFFF#000000##FFFFFF
##702C711.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#73354A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #702c71;
/* rgb */ color: rgb(112, 44, 113);
/* oklch */ color: oklch(41.8% 0.132 327.1);
Tailwind
colors: {
  custom: {
    50: '#9b6a9a',
    500: '#702c71',
    950: '#000000',
  },
}
SCSS
$custom: #702c71;
$custom-light: #9b6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#702c71",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 299.13,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4177,
    "c": 0.13213,
    "h": 327.1
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#702C71
secondary
#57A356
accent
#D45456
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #702C71

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

Preview Lab → · Contrast checker → · Palette generator →

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