#702A7D#702A7D

#702A7D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.147 H 321.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#702A7D
RGBrgb(112, 42, 125)
HSLhsl(291, 50%, 33%)
HSVhsv(291, 66%, 49%)
CMYKcmyk(10.4%, 66.4%, 0%, 51%)
CIE-LABlab(30.84, 43.34, -33.09)
CIE-LCHlch(30.84, 54.52, 322.64°)
OKLaboklab(42.24% 0.1142 -0.0923)
OKLCHoklch(42.24% 0.147 321.1)
XYZxyz(11.2113, 6.5819, 20.0780)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A7D #377D2A
analogous
#462A7D #702A7D #7D2A61
triadic
#702A7D #7D702A #2A7D70
tetradic
#702A7D #7D462A #377D2A #2A617D
square
#702A7D #7D462A #377D2A #2A617D
split-complementary
#702A7D #617D2A #2A7D46
monochromatic
#1E0B21 #471B4F #702A7D #9939AB #B65AC8

Accessibility & contrast

On white

9.07
#702A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#702A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A7D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A7D#FFFFFF#000000##FFFFFF
##702A7D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14447F
Deuteranopia (green-blind)
#334B7B
Tritanopia (blue-blind)
#71384F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702a7d;
/* rgb */ color: rgb(112, 42, 125);
/* oklch */ color: oklch(42.2% 0.147 321.1);
Tailwind
colors: {
  custom: {
    50: '#9c69a3',
    500: '#702a7d',
    950: '#000000',
  },
}
SCSS
$custom: #702a7d;
$custom-light: #9c69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#702a7d",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 290.602,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42241,
    "c": 0.14679,
    "h": 321.1
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#702A7D
secondary
#63AD56
accent
#D94F64
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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