#702178#702178

#702178 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.154 H 323.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#702178
RGBrgb(112, 33, 120)
HSLhsl(294, 57%, 30%)
HSVhsv(294, 73%, 47%)
CMYKcmyk(6.7%, 72.5%, 0%, 52.9%)
CIE-LABlab(29.13, 46.26, -32.65)
CIE-LCHlch(29.13, 56.62, 324.79°)
OKLaboklab(40.92% 0.1248 -0.0909)
OKLCHoklch(40.92% 0.154 323.9)
XYZxyz(10.6158, 5.8892, 18.3432)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702178 #297821
analogous
#452178 #702178 #782154
triadic
#702178 #787021 #217870
tetradic
#702178 #784521 #297821 #215478
square
#702178 #784521 #297821 #215478
split-complementary
#702178 #547821 #217845
monochromatic
#160718 #431448 #702178 #9D2EA8 #C047CC

Accessibility & contrast

On white

9.64
#702178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#702178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702178
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702178#FFFFFF#000000##FFFFFF
##7021781.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073F7A
Deuteranopia (green-blind)
#304876
Tritanopia (blue-blind)
#72304A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #702178;
/* rgb */ color: rgb(112, 33, 120);
/* oklch */ color: oklch(40.9% 0.154 323.9);
Tailwind
colors: {
  custom: {
    50: '#9c649f',
    500: '#702178',
    950: '#000000',
  },
}
SCSS
$custom: #702178;
$custom-light: #9c649f;
$custom-dark: #000000;
JSON
{
  "hex": "#702178",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 294.483,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.40915,
    "c": 0.15444,
    "h": 323.9
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#702178
secondary
#53AB4A
accent
#E04856
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #702178

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

Preview Lab → · Contrast checker → · Palette generator →

#702178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva