#702B8B#702B8B

#702B8B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.159 H 314.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#702B8B
RGBrgb(112, 43, 139)
HSLhsl(283, 53%, 36%)
HSVhsv(283, 69%, 55%)
CMYKcmyk(19.4%, 69.1%, 0%, 45.5%)
CIE-LABlab(31.89, 45.83, -40.12)
CIE-LCHlch(31.89, 60.91, 318.80°)
OKLaboklab(43.29% 0.1125 -0.1128)
OKLCHoklch(43.29% 0.159 314.9)
XYZxyz(12.2054, 7.0370, 25.1364)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B8B #468B2B
analogous
#402B8B #702B8B #8B2B76
triadic
#702B8B #8B702B #2B8B70
tetradic
#702B8B #8B402B #468B2B #2B768B
square
#702B8B #8B402B #468B2B #2B768B
split-complementary
#702B8B #768B2B #2B8B40
monochromatic
#250E2E #4A1D5C #702B8B #9639BA #B062CE

Accessibility & contrast

On white

8.72
#702B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#702B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B8B
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B8B#FFFFFF#000000##FFFFFF
##702B8B1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#284D89
Tritanopia (blue-blind)
#6E3E57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702b8b;
/* rgb */ color: rgb(112, 43, 139);
/* oklch */ color: oklch(43.3% 0.159 314.9);
Tailwind
colors: {
  custom: {
    50: '#9c6aad',
    500: '#702b8b',
    950: '#000000',
  },
}
SCSS
$custom: #702b8b;
$custom-light: #9c6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#702b8b",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 283.125,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43286,
    "c": 0.15937,
    "h": 314.9
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#702B8B
secondary
#76B55D
accent
#DC4C74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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