#702A7B#702A7B

#702A7B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.145 H 322.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#702A7B
RGBrgb(112, 42, 123)
HSLhsl(292, 49%, 32%)
HSVhsv(292, 66%, 48%)
CMYKcmyk(8.9%, 65.9%, 0%, 51.8%)
CIE-LABlab(30.72, 42.93, -32.02)
CIE-LCHlch(30.72, 53.55, 323.28°)
OKLaboklab(42.12% 0.1141 -0.0892)
OKLCHoklch(42.12% 0.145 322)
XYZxyz(11.0848, 6.5313, 19.4118)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A7B #357B2A
analogous
#482A7B #702A7B #7B2A5D
triadic
#702A7B #7B702A #2A7B70
tetradic
#702A7B #7B482A #357B2A #2A5D7B
square
#702A7B #7B482A #357B2A #2A5D7B
split-complementary
#702A7B #5D7B2A #2A7B48
monochromatic
#1D0B20 #461A4D #702A7B #9A3AA9 #B759C6

Accessibility & contrast

On white

9.11
#702A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#702A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A7B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A7B#FFFFFF#000000##FFFFFF
##702A7B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437D
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#71374E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #702a7b;
/* rgb */ color: rgb(112, 42, 123);
/* oklch */ color: oklch(42.1% 0.145 322.0);
Tailwind
colors: {
  custom: {
    50: '#9c69a1',
    500: '#702a7b',
    950: '#000000',
  },
}
SCSS
$custom: #702a7b;
$custom-light: #9c69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#702a7b",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 291.852,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42115,
    "c": 0.14483,
    "h": 322
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#702A7B
secondary
#61AC55
accent
#D94F62
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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