#702A85#702A85

#702A85 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.155 H 317.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#702A85
RGBrgb(112, 42, 133)
HSLhsl(286, 52%, 34%)
HSVhsv(286, 68%, 52%)
CMYKcmyk(15.8%, 68.4%, 0%, 47.8%)
CIE-LABlab(31.33, 45.00, -37.29)
CIE-LCHlch(31.33, 58.44, 320.35°)
OKLaboklab(42.76% 0.114 -0.1045)
OKLCHoklch(42.76% 0.155 317.5)
XYZxyz(11.7431, 6.7946, 22.8787)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A85 #3F852A
analogous
#432A85 #702A85 #852A6D
triadic
#702A85 #85702A #2A8570
tetradic
#702A85 #85432A #3F852A #2A6D85
square
#702A85 #85432A #3F852A #2A6D85
split-complementary
#702A85 #6D852A #2A8543
monochromatic
#220D28 #491B56 #702A85 #9739B4 #B25DCC

Accessibility & contrast

On white

8.90
#702A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#702A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A85
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A85#FFFFFF#000000##FFFFFF
##702A851.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034588
Deuteranopia (green-blind)
#2D4C83
Tritanopia (blue-blind)
#6F3B54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702a85;
/* rgb */ color: rgb(112, 42, 133);
/* oklch */ color: oklch(42.8% 0.155 317.5);
Tailwind
colors: {
  custom: {
    50: '#9c69a9',
    500: '#702a85',
    950: '#000000',
  },
}
SCSS
$custom: #702a85;
$custom-light: #9c69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#702a85",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 286.154,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42761,
    "c": 0.15471,
    "h": 317.5
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#702A85
secondary
#6EB259
accent
#DB4C6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702A85

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

Preview Lab → · Contrast checker → · Palette generator →

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