#702D8D#702D8D

#702D8D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.159 H 313.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#702D8D
RGBrgb(112, 45, 141)
HSLhsl(282, 52%, 36%)
HSVhsv(282, 68%, 55%)
CMYKcmyk(20.6%, 68.1%, 0%, 44.7%)
CIE-LABlab(32.36, 45.34, -40.60)
CIE-LCHlch(32.36, 60.86, 318.15°)
OKLaboklab(43.66% 0.1101 -0.1143)
OKLCHoklch(43.66% 0.159 313.9)
XYZxyz(12.4274, 7.2450, 25.9379)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D8D #4A8D2D
analogous
#402D8D #702D8D #8D2D7A
triadic
#702D8D #8D702D #2D8D70
tetradic
#702D8D #8D402D #4A8D2D #2D7A8D
square
#702D8D #8D402D #4A8D2D #2D7A8D
split-complementary
#702D8D #7A8D2D #2D8D40
monochromatic
#260F30 #4B1E5F #702D8D #953CBB #AF66CE

Accessibility & contrast

On white

8.57
#702D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#702D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D8D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D8D#FFFFFF#000000##FFFFFF
##702D8D1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#6D4059
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702d8d;
/* rgb */ color: rgb(112, 45, 141);
/* oklch */ color: oklch(43.7% 0.159 313.9);
Tailwind
colors: {
  custom: {
    50: '#9c6baf',
    500: '#702d8d',
    950: '#000000',
  },
}
SCSS
$custom: #702d8d;
$custom-light: #9c6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#702d8d",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 281.875,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43664,
    "c": 0.15865,
    "h": 313.9
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#702D8D
secondary
#7AB561
accent
#DB4D78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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