#702C88#702C88

#702C88 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.155 H 316.0°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#702C88
RGBrgb(112, 44, 136)
HSLhsl(284, 51%, 35%)
HSVhsv(284, 68%, 53%)
CMYKcmyk(17.6%, 67.6%, 0%, 46.7%)
CIE-LABlab(31.86, 44.71, -38.31)
CIE-LCHlch(31.86, 58.88, 319.41°)
OKLaboklab(43.2% 0.1115 -0.1075)
OKLCHoklch(43.2% 0.155 316)
XYZxyz(12.0260, 7.0241, 24.0101)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C88 #44882C
analogous
#422C88 #702C88 #882C72
triadic
#702C88 #88702C #2C8870
tetradic
#702C88 #88422C #44882C #2C7288
square
#702C88 #88422C #44882C #2C7288
split-complementary
#702C88 #72882C #2C8842
monochromatic
#240E2C #4A1D5A #702C88 #963BB6 #B162CC

Accessibility & contrast

On white

8.73
#702C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#702C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C88
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C88#FFFFFF#000000##FFFFFF
##702C881.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02478B
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#6F3D56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702c88;
/* rgb */ color: rgb(112, 44, 136);
/* oklch */ color: oklch(43.2% 0.155 316.0);
Tailwind
colors: {
  custom: {
    50: '#9c6aab',
    500: '#702c88',
    950: '#000000',
  },
}
SCSS
$custom: #702c88;
$custom-light: #9c6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#702c88",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 284.348,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43202,
    "c": 0.15492,
    "h": 316
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#702C88
secondary
#74B35D
accent
#DB4D72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702C88

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

Preview Lab → · Contrast checker → · Palette generator →

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