#702B71#702B71

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

Color values

HEX#702B71
RGBrgb(112, 43, 113)
HSLhsl(299, 45%, 31%)
HSVhsv(299, 62%, 44%)
CMYKcmyk(0.9%, 61.9%, 0%, 55.7%)
CIE-LABlab(30.32, 40.47, -26.33)
CIE-LCHlch(30.32, 48.28, 326.96°)
OKLaboklab(41.64% 0.1122 -0.0727)
OKLCHoklch(41.64% 0.134 327.1)
XYZxyz(10.5264, 6.3654, 16.2938)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B71 #2C712B
analogous
#4D2B71 #702B71 #712B4F
triadic
#702B71 #71702B #2B7170
tetradic
#702B71 #714D2B #2C712B #2B4F71
square
#702B71 #714D2B #2C712B #2B4F71
split-complementary
#702B71 #4F712B #2B714D
monochromatic
#180918 #441A45 #702B71 #9C3C9D #BE57BF

Accessibility & contrast

On white

9.24
#702B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#702B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B71
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B71#FFFFFF#000000##FFFFFF
##702B711.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224273
Deuteranopia (green-blind)
#3A4B6F
Tritanopia (blue-blind)
#73344A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702b71;
/* rgb */ color: rgb(112, 43, 113);
/* oklch */ color: oklch(41.6% 0.134 327.1);
Tailwind
colors: {
  custom: {
    50: '#9b699a',
    500: '#702b71',
    950: '#000000',
  },
}
SCSS
$custom: #702b71;
$custom-light: #9b699a;
$custom-dark: #000000;
JSON
{
  "hex": "#702b71",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 299.143,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.13371,
    "h": 327.1
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#702B71
secondary
#56A355
accent
#D55355
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #702B71

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

Preview Lab → · Contrast checker → · Palette generator →

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