#702A79#702A79

#702A79 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.143 H 323.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#702A79
RGBrgb(112, 42, 121)
HSLhsl(293, 48%, 32%)
HSVhsv(293, 65%, 47%)
CMYKcmyk(7.4%, 65.3%, 0%, 52.5%)
CIE-LABlab(30.60, 42.53, -30.95)
CIE-LCHlch(30.60, 52.60, 323.95°)
OKLaboklab(41.99% 0.1141 -0.086)
OKLCHoklch(41.99% 0.143 323)
XYZxyz(10.9609, 6.4817, 18.7592)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A79 #33792A
analogous
#492A79 #702A79 #792A5A
triadic
#702A79 #79702A #2A7970
tetradic
#702A79 #79492A #33792A #2A5A79
square
#702A79 #79492A #33792A #2A5A79
split-complementary
#702A79 #5A792A #2A7949
monochromatic
#1C0A1E #461A4C #702A79 #9A3AA6 #B958C5

Accessibility & contrast

On white

9.15
#702A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#702A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A79
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A79#FFFFFF#000000##FFFFFF
##702A791.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#72364D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #702a79;
/* rgb */ color: rgb(112, 42, 121);
/* oklch */ color: oklch(42.0% 0.143 323.0);
Tailwind
colors: {
  custom: {
    50: '#9c69a0',
    500: '#702a79',
    950: '#000000',
  },
}
SCSS
$custom: #702a79;
$custom-light: #9c69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#702a79",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 293.165,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41991,
    "c": 0.14289,
    "h": 323
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#702A79
secondary
#5EAB54
accent
#D8505F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #702A79

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

Preview Lab → · Contrast checker → · Palette generator →

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