#702B8A#702B8A

#702B8A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.158 H 315.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#702B8A
RGBrgb(112, 43, 138)
HSLhsl(284, 52%, 35%)
HSVhsv(284, 69%, 54%)
CMYKcmyk(18.8%, 68.8%, 0%, 45.9%)
CIE-LABlab(31.82, 45.61, -39.61)
CIE-LCHlch(31.82, 60.41, 319.03°)
OKLaboklab(43.22% 0.1126 -0.1113)
OKLCHoklch(43.22% 0.158 315.3)
XYZxyz(12.1327, 7.0079, 24.7534)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B8A #458A2B
analogous
#402B8A #702B8A #8A2B74
triadic
#702B8A #8A702B #2B8A70
tetradic
#702B8A #8A402B #458A2B #2B748A
square
#702B8A #8A402B #458A2B #2B748A
split-complementary
#702B8A #748A2B #2B8A40
monochromatic
#240E2D #4A1C5B #702B8A #963AB9 #B061CE

Accessibility & contrast

On white

8.74
#702B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#702B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B8A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B8A#FFFFFF#000000##FFFFFF
##702B8A1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#294D88
Tritanopia (blue-blind)
#6E3D57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702b8a;
/* rgb */ color: rgb(112, 43, 138);
/* oklch */ color: oklch(43.2% 0.158 315.3);
Tailwind
colors: {
  custom: {
    50: '#9c6aad',
    500: '#702b8a',
    950: '#000000',
  },
}
SCSS
$custom: #702b8a;
$custom-light: #9c6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#702b8a",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 283.579,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43218,
    "c": 0.15835,
    "h": 315.3
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#702B8A
secondary
#75B45D
accent
#DC4C73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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