#702B81#702B81

#702B81 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.6% C 0.149 H 319.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#702B81
RGBrgb(112, 43, 129)
HSLhsl(288, 50%, 34%)
HSVhsv(288, 67%, 51%)
CMYKcmyk(13.2%, 66.7%, 0%, 49.4%)
CIE-LABlab(31.25, 43.69, -34.93)
CIE-LCHlch(31.25, 55.94, 321.36°)
OKLaboklab(42.62% 0.1129 -0.0977)
OKLCHoklch(42.62% 0.149 319.1)
XYZxyz(11.5079, 6.7580, 21.4629)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B81 #3C812B
analogous
#452B81 #702B81 #812B67
triadic
#702B81 #81702B #2B8170
tetradic
#702B81 #81452B #3C812B #2B6781
square
#702B81 #81452B #3C812B #2B6781
split-complementary
#702B81 #67812B #2B8145
monochromatic
#200C25 #481C53 #702B81 #983AAF #B45DC9

Accessibility & contrast

On white

8.93
#702B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#702B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B81
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B81#FFFFFF#000000##FFFFFF
##702B811.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104584
Deuteranopia (green-blind)
#314C7F
Tritanopia (blue-blind)
#703A52
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702b81;
/* rgb */ color: rgb(112, 43, 129);
/* oklch */ color: oklch(42.6% 0.149 319.1);
Tailwind
colors: {
  custom: {
    50: '#9c6aa6',
    500: '#702b81',
    950: '#000000',
  },
}
SCSS
$custom: #702b81;
$custom-light: #9c6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#702b81",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 288.14,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42619,
    "c": 0.14929,
    "h": 319.1
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#702B81
secondary
#6AAF59
accent
#DA4E6A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702B81

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

Preview Lab → · Contrast checker → · Palette generator →

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