#702B7D#702B7D

#702B7D is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.145 H 321.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#702B7D
RGBrgb(112, 43, 125)
HSLhsl(290, 49%, 33%)
HSVhsv(290, 66%, 49%)
CMYKcmyk(10.4%, 65.6%, 0%, 51%)
CIE-LABlab(31.01, 42.87, -32.82)
CIE-LCHlch(31.01, 53.98, 322.56°)
OKLaboklab(42.36% 0.1129 -0.0915)
OKLCHoklch(42.36% 0.145 321)
XYZxyz(11.2472, 6.6537, 20.0899)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B7D #387D2B
analogous
#472B7D #702B7D #7D2B61
triadic
#702B7D #7D702B #2B7D70
tetradic
#702B7D #7D472B #387D2B #2B617D
square
#702B7D #7D472B #387D2B #2B617D
split-complementary
#702B7D #617D2B #2B7D47
monochromatic
#1E0C22 #471B4F #702B7D #993BAB #B65CC7

Accessibility & contrast

On white

9.01
#702B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#702B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B7D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B7D#FFFFFF#000000##FFFFFF
##702B7D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447F
Deuteranopia (green-blind)
#334C7B
Tritanopia (blue-blind)
#713850
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702b7d;
/* rgb */ color: rgb(112, 43, 125);
/* oklch */ color: oklch(42.4% 0.145 321.0);
Tailwind
colors: {
  custom: {
    50: '#9c6aa3',
    500: '#702b7d',
    950: '#000000',
  },
}
SCSS
$custom: #702b7d;
$custom-light: #9c6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#702b7d",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 290.488,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42363,
    "c": 0.14532,
    "h": 321
  },
  "luminance": 0.06653
}

Semantic roles & 50–950 ramp

primary
#702B7D
secondary
#65AD57
accent
#D84F65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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