#702E71#702E71

#702E71 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.0% C 0.129 H 327.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#702E71
RGBrgb(112, 46, 113)
HSLhsl(299, 42%, 31%)
HSVhsv(299, 59%, 44%)
CMYKcmyk(0.9%, 59.3%, 0%, 55.7%)
CIE-LABlab(30.86, 38.99, -25.47)
CIE-LCHlch(30.86, 46.58, 326.85°)
OKLaboklab(42.04% 0.1081 -0.0702)
OKLCHoklch(42.04% 0.129 327)
XYZxyz(10.6395, 6.5916, 16.3315)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E71 #2F712E
analogous
#4E2E71 #702E71 #712E50
triadic
#702E71 #71702E #2E7170
tetradic
#702E71 #714E2E #2F712E #2E5071
square
#702E71 #714E2E #2F712E #2E5071
split-complementary
#702E71 #50712E #2E714E
monochromatic
#1A0B1A #451C46 #702E71 #9B409C #BB5DBD

Accessibility & contrast

On white

9.06
#702E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#702E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E71
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E71#FFFFFF#000000##FFFFFF
##702E711.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#3C4C6F
Tritanopia (blue-blind)
#73364B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702e71;
/* rgb */ color: rgb(112, 46, 113);
/* oklch */ color: oklch(42.0% 0.129 327.0);
Tailwind
colors: {
  custom: {
    50: '#9b6b9a',
    500: '#702e71',
    950: '#000000',
  },
}
SCSS
$custom: #702e71;
$custom-light: #9b6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#702e71",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 299.104,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.12889,
    "h": 327
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#702E71
secondary
#5AA258
accent
#D25658
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #702E71

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

Preview Lab → · Contrast checker → · Palette generator →

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