#702C8C#702C8C

#702C8C is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.159 H 314.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#702C8C
RGBrgb(112, 44, 140)
HSLhsl(283, 52%, 36%)
HSVhsv(283, 69%, 55%)
CMYKcmyk(20%, 68.6%, 0%, 45.1%)
CIE-LABlab(32.12, 45.58, -40.36)
CIE-LCHlch(32.12, 60.89, 318.48°)
OKLaboklab(43.47% 0.1113 -0.1136)
OKLCHoklch(43.47% 0.159 314.4)
XYZxyz(12.3156, 7.1400, 25.5353)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C8C #488C2C
analogous
#402C8C #702C8C #8C2C78
triadic
#702C8C #8C702C #2C8C70
tetradic
#702C8C #8C402C #488C2C #2C788C
square
#702C8C #8C402C #488C2C #2C788C
split-complementary
#702C8C #788C2C #2C8C40
monochromatic
#250F2F #4B1D5D #702C8C #953BBB #AF64CE

Accessibility & contrast

On white

8.65
#702C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702C8C
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C8C#FFFFFF#000000##FFFFFF
##702C8C1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#284D8A
Tritanopia (blue-blind)
#6E3F58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702c8c;
/* rgb */ color: rgb(112, 44, 140);
/* oklch */ color: oklch(43.5% 0.159 314.4);
Tailwind
colors: {
  custom: {
    50: '#9c6bae',
    500: '#702c8c',
    950: '#000000',
  },
}
SCSS
$custom: #702c8c;
$custom-light: #9c6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#702c8c",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 282.5,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43474,
    "c": 0.15902,
    "h": 314.4
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#702C8C
secondary
#78B55F
accent
#DC4C76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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