#702C72#702C72

#702C72 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 41.8% C 0.133 H 326.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#702C72
RGBrgb(112, 44, 114)
HSLhsl(298, 44%, 31%)
HSVhsv(298, 61%, 45%)
CMYKcmyk(1.8%, 61.4%, 0%, 55.3%)
CIE-LABlab(30.55, 40.18, -26.60)
CIE-LCHlch(30.55, 48.19, 326.50°)
OKLaboklab(41.83% 0.111 -0.0734)
OKLCHoklch(41.83% 0.133 326.5)
XYZxyz(10.6198, 6.4617, 16.6042)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C72 #2E722C
analogous
#4D2C72 #702C72 #722C51
triadic
#702C72 #72702C #2C7270
tetradic
#702C72 #724D2C #2E722C #2C5172
square
#702C72 #724D2C #2E722C #2C5172
split-complementary
#702C72 #51722C #2C724D
monochromatic
#190A1A #451B46 #702C72 #9B3D9E #BC59BF

Accessibility & contrast

On white

9.16
#702C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702C72
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C72#FFFFFF#000000##FFFFFF
##702C721.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702c72;
/* rgb */ color: rgb(112, 44, 114);
/* oklch */ color: oklch(41.8% 0.133 326.5);
Tailwind
colors: {
  custom: {
    50: '#9b6a9b',
    500: '#702c72',
    950: '#000000',
  },
}
SCSS
$custom: #702c72;
$custom-light: #9b6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#702c72",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 298.286,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41827,
    "c": 0.13307,
    "h": 326.5
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#702C72
secondary
#58A456
accent
#D45457
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #702C72

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

Preview Lab → · Contrast checker → · Palette generator →

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