#702F72#702F72

#702F72 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.2% C 0.128 H 326.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#702F72
RGBrgb(112, 47, 114)
HSLhsl(298, 42%, 32%)
HSVhsv(298, 59%, 45%)
CMYKcmyk(1.8%, 58.8%, 0%, 55.3%)
CIE-LABlab(31.10, 38.69, -25.73)
CIE-LCHlch(31.10, 46.46, 326.37°)
OKLaboklab(42.23% 0.1068 -0.071)
OKLCHoklch(42.23% 0.128 326.4)
XYZxyz(10.7357, 6.6933, 16.6428)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F72 #31722F
analogous
#4F2F72 #702F72 #722F53
triadic
#702F72 #72702F #2F7270
tetradic
#702F72 #724F2F #31722F #2F5372
square
#702F72 #724F2F #31722F #2F5372
split-complementary
#702F72 #53722F #2F724F
monochromatic
#1B0B1B #451D47 #702F72 #9B419D #BA5FBD

Accessibility & contrast

On white

8.98
#702F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#702F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F72
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F72#FFFFFF#000000##FFFFFF
##702F721.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274474
Deuteranopia (green-blind)
#3C4C70
Tritanopia (blue-blind)
#73374C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702f72;
/* rgb */ color: rgb(112, 47, 114);
/* oklch */ color: oklch(42.2% 0.128 326.4);
Tailwind
colors: {
  custom: {
    50: '#9b6b9b',
    500: '#702f72',
    950: '#000000',
  },
}
SCSS
$custom: #702f72;
$custom-light: #9b6b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#702f72",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 298.209,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42229,
    "c": 0.12821,
    "h": 326.4
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#702F72
secondary
#5CA35A
accent
#D1565A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #702F72

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

Preview Lab → · Contrast checker → · Palette generator →

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