#702C77#702C77

#702C77 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.1% C 0.138 H 323.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#702C77
RGBrgb(112, 44, 119)
HSLhsl(294, 46%, 32%)
HSVhsv(294, 63%, 47%)
CMYKcmyk(5.9%, 63%, 0%, 53.3%)
CIE-LABlab(30.83, 41.17, -29.32)
CIE-LCHlch(30.83, 50.54, 324.54°)
OKLaboklab(42.12% 0.1114 -0.0813)
OKLCHoklch(42.12% 0.138 323.9)
XYZxyz(10.9122, 6.5786, 18.1442)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C77 #33772C
analogous
#4B2C77 #702C77 #772C59
triadic
#702C77 #77702C #2C7770
tetradic
#702C77 #774B2C #33772C #2C5977
square
#702C77 #774B2C #33772C #2C5977
split-complementary
#702C77 #59772C #2C774B
monochromatic
#1C0B1E #461B4A #702C77 #9A3DA4 #B95BC2

Accessibility & contrast

On white

9.07
#702C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#702C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C77
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C77#FFFFFF#000000##FFFFFF
##702C771.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4379
Deuteranopia (green-blind)
#384B75
Tritanopia (blue-blind)
#72374D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702c77;
/* rgb */ color: rgb(112, 44, 119);
/* oklch */ color: oklch(42.1% 0.138 323.9);
Tailwind
colors: {
  custom: {
    50: '#9b6a9e',
    500: '#702c77',
    950: '#000000',
  },
}
SCSS
$custom: #702c77;
$custom-light: #9b6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#702c77",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 294.4,
    "s": 46.012,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42121,
    "c": 0.1379,
    "h": 323.9
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#702C77
secondary
#5EA856
accent
#D6525E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #702C77

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

Preview Lab → · Contrast checker → · Palette generator →

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