#702B8D#702B8D

#702B8D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.161 H 314.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#702B8D
RGBrgb(112, 43, 141)
HSLhsl(282, 53%, 36%)
HSVhsv(282, 70%, 55%)
CMYKcmyk(20.6%, 69.5%, 0%, 44.7%)
CIE-LABlab(32.02, 46.27, -41.14)
CIE-LCHlch(32.02, 61.91, 318.36°)
OKLaboklab(43.43% 0.1124 -0.1158)
OKLCHoklch(43.43% 0.161 314.1)
XYZxyz(12.3529, 7.0960, 25.9131)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B8D #488D2B
analogous
#3F2B8D #702B8D #8D2B79
triadic
#702B8D #8D702B #2B8D70
tetradic
#702B8D #8D3F2B #488D2B #2B798D
square
#702B8D #8D3F2B #488D2B #2B798D
split-complementary
#702B8D #798D2B #2B8D3F
monochromatic
#250E2F #4B1D5E #702B8D #9539BC #AF63CF

Accessibility & contrast

On white

8.68
#702B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#702B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B8D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B8D#FFFFFF#000000##FFFFFF
##702B8D1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#264D8B
Tritanopia (blue-blind)
#6D3F58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702b8d;
/* rgb */ color: rgb(112, 43, 141);
/* oklch */ color: oklch(43.4% 0.161 314.1);
Tailwind
colors: {
  custom: {
    50: '#9c6aaf',
    500: '#702b8d',
    950: '#000000',
  },
}
SCSS
$custom: #702b8d;
$custom-light: #9c6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#702b8d",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 282.245,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43425,
    "c": 0.16141,
    "h": 314.1
  },
  "luminance": 0.07096
}

Semantic roles & 50–950 ramp

primary
#702B8D
secondary
#78B65E
accent
#DD4B76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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