#702A8B#702A8B

#702A8B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.161 H 315.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#702A8B
RGBrgb(112, 42, 139)
HSLhsl(283, 54%, 35%)
HSVhsv(283, 70%, 55%)
CMYKcmyk(19.4%, 69.8%, 0%, 45.5%)
CIE-LABlab(31.73, 46.29, -40.38)
CIE-LCHlch(31.73, 61.43, 318.90°)
OKLaboklab(43.17% 0.1137 -0.1136)
OKLCHoklch(43.17% 0.161 315)
XYZxyz(12.1695, 6.9652, 25.1245)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A8B #458B2A
analogous
#3F2A8B #702A8B #8B2A75
triadic
#702A8B #8B702A #2A8B70
tetradic
#702A8B #8B3F2A #458B2A #2A758B
square
#702A8B #8B3F2A #458B2A #2A758B
split-complementary
#702A8B #758B2A #2A8B3F
monochromatic
#240E2D #4A1C5C #702A8B #9638BA #B060CF

Accessibility & contrast

On white

8.78
#702A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#702A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A8B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A8B#FFFFFF#000000##FFFFFF
##702A8B1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#274C89
Tritanopia (blue-blind)
#6E3D57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702a8b;
/* rgb */ color: rgb(112, 42, 139);
/* oklch */ color: oklch(43.2% 0.161 315.0);
Tailwind
colors: {
  custom: {
    50: '#9c69ad',
    500: '#702a8b',
    950: '#000000',
  },
}
SCSS
$custom: #702a8b;
$custom-light: #9c69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#702a8b",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 283.299,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43169,
    "c": 0.16073,
    "h": 315
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#702A8B
secondary
#75B55C
accent
#DD4B74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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