#702D88#702D88

#702D88 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.153 H 315.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#702D88
RGBrgb(112, 45, 136)
HSLhsl(284, 50%, 35%)
HSVhsv(284, 67%, 53%)
CMYKcmyk(17.6%, 66.9%, 0%, 46.7%)
CIE-LABlab(32.03, 44.24, -38.04)
CIE-LCHlch(32.03, 58.34, 319.31°)
OKLaboklab(43.33% 0.1103 -0.1068)
OKLCHoklch(43.33% 0.154 315.9)
XYZxyz(12.0637, 7.0995, 24.0227)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D88 #45882D
analogous
#432D88 #702D88 #882D72
triadic
#702D88 #88702D #2D8870
tetradic
#702D88 #88432D #45882D #2D7288
square
#702D88 #88432D #45882D #2D7288
split-complementary
#702D88 #72882D #2D8843
monochromatic
#240F2C #4A1E5A #702D88 #963CB6 #B064CC

Accessibility & contrast

On white

8.68
#702D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#702D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D88
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D88#FFFFFF#000000##FFFFFF
##702D881.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478B
Deuteranopia (green-blind)
#2D4D86
Tritanopia (blue-blind)
#6E3E56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702d88;
/* rgb */ color: rgb(112, 45, 136);
/* oklch */ color: oklch(43.3% 0.153 315.9);
Tailwind
colors: {
  custom: {
    50: '#9c6bab',
    500: '#702d88',
    950: '#000000',
  },
}
SCSS
$custom: #702d88;
$custom-light: #9c6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#702d88",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 284.176,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43325,
    "c": 0.1535,
    "h": 315.9
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#702D88
secondary
#75B25F
accent
#DA4E73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #702D88

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

Preview Lab → · Contrast checker → · Palette generator →

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