#702B78#702B78

#702B78 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.140 H 323.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#702B78
RGBrgb(112, 43, 120)
HSLhsl(294, 47%, 32%)
HSVhsv(294, 64%, 47%)
CMYKcmyk(6.7%, 64.2%, 0%, 52.9%)
CIE-LABlab(30.71, 41.85, -30.14)
CIE-LCHlch(30.71, 51.57, 324.24°)
OKLaboklab(42.05% 0.1127 -0.0837)
OKLCHoklch(42.05% 0.14 323.4)
XYZxyz(10.9358, 6.5292, 18.4499)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B78 #33782B
analogous
#4A2B78 #702B78 #782B5A
triadic
#702B78 #78702B #2B7870
tetradic
#702B78 #784A2B #33782B #2B5A78
square
#702B78 #784A2B #33782B #2B5A78
split-complementary
#702B78 #5A782B #2B784A
monochromatic
#1C0B1E #461B4B #702B78 #9A3BA5 #B95AC4

Accessibility & contrast

On white

9.11
#702B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702B78
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B78#FFFFFF#000000##FFFFFF
##702B781.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437A
Deuteranopia (green-blind)
#364B76
Tritanopia (blue-blind)
#72364D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #702b78;
/* rgb */ color: rgb(112, 43, 120);
/* oklch */ color: oklch(42.1% 0.140 323.4);
Tailwind
colors: {
  custom: {
    50: '#9b699f',
    500: '#702b78',
    950: '#000000',
  },
}
SCSS
$custom: #702b78;
$custom-light: #9b699f;
$custom-dark: #000000;
JSON
{
  "hex": "#702b78",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 293.766,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42054,
    "c": 0.14041,
    "h": 323.4
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#702B78
secondary
#5EAA55
accent
#D7515F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #702B78

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

Preview Lab → · Contrast checker → · Palette generator →

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