#702E7D#702E7D

#702E7D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.7% C 0.141 H 320.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#702E7D
RGBrgb(112, 46, 125)
HSLhsl(290, 46%, 34%)
HSVhsv(290, 63%, 49%)
CMYKcmyk(10.4%, 63.2%, 0%, 51%)
CIE-LABlab(31.53, 41.41, -31.98)
CIE-LCHlch(31.53, 52.32, 322.33°)
OKLaboklab(42.75% 0.109 -0.0891)
OKLCHoklch(42.75% 0.141 320.7)
XYZxyz(11.3603, 6.8799, 20.1276)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E7D #3B7D2E
analogous
#482E7D #702E7D #7D2E62
triadic
#702E7D #7D702E #2E7D70
tetradic
#702E7D #7D482E #3B7D2E #2E627D
square
#702E7D #7D482E #3B7D2E #2E627D
split-complementary
#702E7D #627D2E #2E7D48
monochromatic
#200D24 #481E50 #702E7D #983EAA #B461C5

Accessibility & contrast

On white

8.84
#702E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#702E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E7D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E7D#FFFFFF#000000##FFFFFF
##702E7D1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C467F
Deuteranopia (green-blind)
#364D7B
Tritanopia (blue-blind)
#713A51
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702e7d;
/* rgb */ color: rgb(112, 46, 125);
/* oklch */ color: oklch(42.7% 0.141 320.7);
Tailwind
colors: {
  custom: {
    50: '#9b6ba3',
    500: '#702e7d',
    950: '#000000',
  },
}
SCSS
$custom: #702e7d;
$custom-light: #9b6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#702e7d",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 290.127,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42745,
    "c": 0.14076,
    "h": 320.7
  },
  "luminance": 0.06879
}

Semantic roles & 50–950 ramp

primary
#702E7D
secondary
#69AB5B
accent
#D65268
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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