#702D85#702D85

#702D85 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.150 H 317.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#702D85
RGBrgb(112, 45, 133)
HSLhsl(286, 49%, 35%)
HSVhsv(286, 66%, 52%)
CMYKcmyk(15.8%, 66.2%, 0%, 47.8%)
CIE-LABlab(31.84, 43.59, -36.48)
CIE-LCHlch(31.84, 56.84, 320.08°)
OKLaboklab(43.13% 0.1104 -0.1022)
OKLCHoklch(43.13% 0.15 317.2)
XYZxyz(11.8535, 7.0154, 22.9155)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D85 #42852D
analogous
#442D85 #702D85 #852D6E
triadic
#702D85 #85702D #2D8570
tetradic
#702D85 #85442D #42852D #2D6E85
square
#702D85 #85442D #42852D #2D6E85
split-complementary
#702D85 #6E852D #2D8544
monochromatic
#230E2A #491E57 #702D85 #973CB3 #B162CA

Accessibility & contrast

On white

8.74
#702D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702D85
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D85#FFFFFF#000000##FFFFFF
##702D851.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4788
Deuteranopia (green-blind)
#2F4D83
Tritanopia (blue-blind)
#6F3D55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702d85;
/* rgb */ color: rgb(112, 45, 133);
/* oklch */ color: oklch(43.1% 0.150 317.2);
Tailwind
colors: {
  custom: {
    50: '#9c6ba9',
    500: '#702d85',
    950: '#000000',
  },
}
SCSS
$custom: #702d85;
$custom-light: #9c6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#702d85",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 285.682,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43127,
    "c": 0.15042,
    "h": 317.2
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#702D85
secondary
#71B05D
accent
#D94F70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #702D85

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

Preview Lab → · Contrast checker → · Palette generator →

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