#702C8F#702C8F

#702C8F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.162 H 313.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#702C8F
RGBrgb(112, 44, 143)
HSLhsl(281, 53%, 37%)
HSVhsv(281, 69%, 56%)
CMYKcmyk(21.7%, 69.2%, 0%, 43.9%)
CIE-LABlab(32.32, 46.24, -41.89)
CIE-LCHlch(32.32, 62.40, 317.83°)
OKLaboklab(43.68% 0.1111 -0.118)
OKLCHoklch(43.68% 0.162 313.3)
XYZxyz(12.5398, 7.2297, 26.7162)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C8F #4B8F2C
analogous
#3F2C8F #702C8F #8F2C7D
triadic
#702C8F #8F702C #2C8F70
tetradic
#702C8F #8F3F2C #4B8F2C #2C7D8F
square
#702C8F #8F3F2C #4B8F2C #2C7D8F
split-complementary
#702C8F #7D8F2C #2C8F3F
monochromatic
#270F31 #4B1E60 #702C8F #953ABE #AF66D0

Accessibility & contrast

On white

8.59
#702C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#702C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C8F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C8F#FFFFFF#000000##FFFFFF
##702C8F1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#254E8D
Tritanopia (blue-blind)
#6D405A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702c8f;
/* rgb */ color: rgb(112, 44, 143);
/* oklch */ color: oklch(43.7% 0.162 313.3);
Tailwind
colors: {
  custom: {
    50: '#9c6bb0',
    500: '#702c8f',
    950: '#000000',
  },
}
SCSS
$custom: #702c8f;
$custom-light: #9c6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#702c8f",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 281.212,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43683,
    "c": 0.16209,
    "h": 313.3
  },
  "luminance": 0.07229
}

Semantic roles & 50–950 ramp

primary
#702C8F
secondary
#7BB661
accent
#DC4B79
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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