#702A78#702A78

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

Color values

HEX#702A78
RGBrgb(112, 42, 120)
HSLhsl(294, 48%, 32%)
HSVhsv(294, 65%, 47%)
CMYKcmyk(6.7%, 65%, 0%, 52.9%)
CIE-LABlab(30.54, 42.33, -30.41)
CIE-LCHlch(30.54, 52.12, 324.30°)
OKLaboklab(41.93% 0.114 -0.0845)
OKLCHoklch(41.93% 0.142 323.5)
XYZxyz(10.8999, 6.4573, 18.4379)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A78 #32782A
analogous
#492A78 #702A78 #782A59
triadic
#702A78 #78702A #2A7870
tetradic
#702A78 #78492A #32782A #2A5978
square
#702A78 #78492A #32782A #2A5978
split-complementary
#702A78 #59782A #2A7849
monochromatic
#1B0A1D #461A4B #702A78 #9A3AA5 #B958C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##702A78#FFFFFF#000000##FFFFFF
##702A781.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)
#1A437A
Deuteranopia (green-blind)
#364B76
Tritanopia (blue-blind)
#72364D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #702a78;
/* rgb */ color: rgb(112, 42, 120);
/* oklch */ color: oklch(41.9% 0.142 323.5);
Tailwind
colors: {
  custom: {
    50: '#9c699f',
    500: '#702a78',
    950: '#000000',
  },
}
SCSS
$custom: #702a78;
$custom-light: #9c699f;
$custom-dark: #000000;
JSON
{
  "hex": "#702a78",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 293.846,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41929,
    "c": 0.14192,
    "h": 323.5
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#702A78
secondary
#5DAA54
accent
#D8505E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #702A78

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

Preview Lab → · Contrast checker → · Palette generator →

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