#702C8D#702C8D

#702C8D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.160 H 314.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#702C8D
RGBrgb(112, 44, 141)
HSLhsl(282, 52%, 36%)
HSVhsv(282, 69%, 55%)
CMYKcmyk(20.6%, 68.8%, 0%, 44.7%)
CIE-LABlab(32.19, 45.80, -40.87)
CIE-LCHlch(32.19, 61.39, 318.25°)
OKLaboklab(43.54% 0.1112 -0.1151)
OKLCHoklch(43.54% 0.16 314)
XYZxyz(12.3897, 7.1696, 25.9254)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C8D #498D2C
analogous
#402C8D #702C8D #8D2C7A
triadic
#702C8D #8D702C #2C8D70
tetradic
#702C8D #8D402C #498D2C #2C7A8D
square
#702C8D #8D402C #498D2C #2C7A8D
split-complementary
#702C8D #7A8D2C #2C8D40
monochromatic
#260F30 #4B1D5E #702C8D #953BBC #AF65CF

Accessibility & contrast

On white

8.63
#702C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#702C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C8D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C8D#FFFFFF#000000##FFFFFF
##702C8D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#274D8B
Tritanopia (blue-blind)
#6D3F59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702c8d;
/* rgb */ color: rgb(112, 44, 141);
/* oklch */ color: oklch(43.5% 0.160 314.0);
Tailwind
colors: {
  custom: {
    50: '#9c6baf',
    500: '#702c8d',
    950: '#000000',
  },
}
SCSS
$custom: #702c8d;
$custom-light: #9c6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#702c8d",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 282.062,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43543,
    "c": 0.16003,
    "h": 314
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#702C8D
secondary
#79B560
accent
#DC4C77
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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