#702B85#702B85

#702B85 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.153 H 317.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#702B85
RGBrgb(112, 43, 133)
HSLhsl(286, 51%, 35%)
HSVhsv(286, 68%, 52%)
CMYKcmyk(15.8%, 67.7%, 0%, 47.8%)
CIE-LABlab(31.50, 44.54, -37.02)
CIE-LCHlch(31.50, 57.92, 320.26°)
OKLaboklab(42.88% 0.1128 -0.1038)
OKLCHoklch(42.88% 0.153 317.4)
XYZxyz(11.7790, 6.8664, 22.8906)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B85 #40852B
analogous
#432B85 #702B85 #852B6D
triadic
#702B85 #85702B #2B8570
tetradic
#702B85 #85432B #40852B #2B6D85
square
#702B85 #85432B #40852B #2B6D85
split-complementary
#702B85 #6D852B #2B8543
monochromatic
#220D29 #491C57 #702B85 #973AB3 #B25FCB

Accessibility & contrast

On white

8.85
#702B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#702B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B85
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B85#FFFFFF#000000##FFFFFF
##702B851.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702b85;
/* rgb */ color: rgb(112, 43, 133);
/* oklch */ color: oklch(42.9% 0.153 317.4);
Tailwind
colors: {
  custom: {
    50: '#9c6aa9',
    500: '#702b85',
    950: '#000000',
  },
}
SCSS
$custom: #702b85;
$custom-light: #9c6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#702b85",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 286,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42881,
    "c": 0.15331,
    "h": 317.4
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#702B85
secondary
#6FB15B
accent
#DB4D6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #702B85

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

Preview Lab → · Contrast checker → · Palette generator →

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