#702F79#702F79

#702F79 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.6% C 0.135 H 322.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#702F79
RGBrgb(112, 47, 121)
HSLhsl(293, 44%, 33%)
HSVhsv(293, 61%, 47%)
CMYKcmyk(7.4%, 61.2%, 0%, 52.5%)
CIE-LABlab(31.48, 40.09, -29.54)
CIE-LCHlch(31.48, 49.80, 323.61°)
OKLaboklab(42.64% 0.1074 -0.082)
OKLCHoklch(42.64% 0.135 322.6)
XYZxyz(11.1494, 6.8588, 18.8221)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F79 #38792F
analogous
#4B2F79 #702F79 #792F5D
triadic
#702F79 #79702F #2F7970
tetradic
#702F79 #794B2F #38792F #2F5D79
square
#702F79 #794B2F #38792F #2F5D79
split-complementary
#702F79 #5D792F #2F794B
monochromatic
#1E0D21 #471E4D #702F79 #9940A5 #B661C2

Accessibility & contrast

On white

8.85
#702F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#702F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F79
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F79#FFFFFF#000000##FFFFFF
##702F791.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#723A4F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702f79;
/* rgb */ color: rgb(112, 47, 121);
/* oklch */ color: oklch(42.6% 0.135 322.6);
Tailwind
colors: {
  custom: {
    50: '#9b6ca0',
    500: '#702f79',
    950: '#000000',
  },
}
SCSS
$custom: #702f79;
$custom-light: #9b6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#702f79",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 292.703,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.13515,
    "h": 322.6
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#702F79
secondary
#65A85B
accent
#D45464
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #702F79

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

Preview Lab → · Contrast checker → · Palette generator →

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