#702E70#702E70

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

Color values

HEX#702E70
RGBrgb(112, 46, 112)
HSLhsl(300, 42%, 31%)
HSVhsv(300, 59%, 44%)
CMYKcmyk(0%, 58.9%, 0%, 56.1%)
CIE-LABlab(30.81, 38.80, -24.92)
CIE-LCHlch(30.81, 46.11, 327.29°)
OKLaboklab(41.98% 0.108 -0.0686)
OKLCHoklch(41.98% 0.128 327.6)
XYZxyz(10.5836, 6.5692, 16.0366)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E70 #2E702E
analogous
#4F2E70 #702E70 #702E4F
triadic
#702E70 #70702E #2E7070
tetradic
#702E70 #704F2E #2E702E #2E4F70
square
#702E70 #704F2E #2E702E #2E4F70
split-complementary
#702E70 #4F702E #2E704F
monochromatic
#190A19 #451C45 #702E70 #9B409B #BC5CBC

Accessibility & contrast

On white

9.08
#702E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#702E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E70
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E70#FFFFFF#000000##FFFFFF
##702E701.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274372
Deuteranopia (green-blind)
#3D4C6E
Tritanopia (blue-blind)
#73364A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #702e70;
/* rgb */ color: rgb(112, 46, 112);
/* oklch */ color: oklch(42.0% 0.128 327.6);
Tailwind
colors: {
  custom: {
    50: '#9b6b99',
    500: '#702e70',
    950: '#000000',
  },
}
SCSS
$custom: #702e70;
$custom-light: #9b6b99;
$custom-dark: #000000;
JSON
{
  "hex": "#702e70",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 300,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4198,
    "c": 0.12793,
    "h": 327.6
  },
  "luminance": 0.06569
}

Semantic roles & 50–950 ramp

primary
#702E70
secondary
#58A158
accent
#D25656
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #702E70

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

Preview Lab → · Contrast checker → · Palette generator →

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