#702B8F#702B8F

#702B8F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.163 H 313.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#702B8F
RGBrgb(112, 43, 143)
HSLhsl(281, 54%, 36%)
HSVhsv(281, 70%, 56%)
CMYKcmyk(21.7%, 69.9%, 0%, 43.9%)
CIE-LABlab(32.16, 46.71, -42.16)
CIE-LCHlch(32.16, 62.92, 317.93°)
OKLaboklab(43.57% 0.1122 -0.1188)
OKLCHoklch(43.57% 0.163 313.4)
XYZxyz(12.5030, 7.1560, 26.7039)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B8F #4A8F2B
analogous
#3E2B8F #702B8F #8F2B7C
triadic
#702B8F #8F702B #2B8F70
tetradic
#702B8F #8F3E2B #4A8F2B #2B7C8F
square
#702B8F #8F3E2B #4A8F2B #2B7C8F
split-complementary
#702B8F #7C8F2B #2B8F3E
monochromatic
#260F31 #4B1D60 #702B8F #9539BE #AF64D0

Accessibility & contrast

On white

8.64
#702B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#702B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B8F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B8F#FFFFFF#000000##FFFFFF
##702B8F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#244D8D
Tritanopia (blue-blind)
#6D3F59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702b8f;
/* rgb */ color: rgb(112, 43, 143);
/* oklch */ color: oklch(43.6% 0.163 313.4);
Tailwind
colors: {
  custom: {
    50: '#9c6ab0',
    500: '#702b8f',
    950: '#000000',
  },
}
SCSS
$custom: #702b8f;
$custom-light: #9c6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#702b8f",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 281.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43565,
    "c": 0.16344,
    "h": 313.4
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#702B8F
secondary
#7AB75F
accent
#DD4B78
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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