#702C8B#702C8B

#702C8B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.158 H 314.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#702C8B
RGBrgb(112, 44, 139)
HSLhsl(283, 52%, 36%)
HSVhsv(283, 68%, 55%)
CMYKcmyk(19.4%, 68.3%, 0%, 45.5%)
CIE-LABlab(32.06, 45.37, -39.85)
CIE-LCHlch(32.06, 60.38, 318.70°)
OKLaboklab(43.41% 0.1114 -0.1121)
OKLCHoklch(43.41% 0.158 314.8)
XYZxyz(12.2422, 7.1106, 25.1487)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C8B #478B2C
analogous
#402C8B #702C8B #8B2C76
triadic
#702C8B #8B702C #2C8B70
tetradic
#702C8B #8B402C #478B2C #2C768B
square
#702C8B #8B402C #478B2C #2C768B
split-complementary
#702C8B #768B2C #2C8B40
monochromatic
#250F2E #4B1D5D #702C8B #953BB9 #B064CE

Accessibility & contrast

On white

8.67
#702C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#702C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C8B
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C8B#FFFFFF#000000##FFFFFF
##702C8B1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#294D89
Tritanopia (blue-blind)
#6E3E58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702c8b;
/* rgb */ color: rgb(112, 44, 139);
/* oklch */ color: oklch(43.4% 0.158 314.8);
Tailwind
colors: {
  custom: {
    50: '#9c6bad',
    500: '#702c8b',
    950: '#000000',
  },
}
SCSS
$custom: #702c8b;
$custom-light: #9c6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#702c8b",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 282.947,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43406,
    "c": 0.15799,
    "h": 314.8
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#702C8B
secondary
#77B45F
accent
#DB4C75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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