#702B8E#702B8E

#702B8E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.162 H 313.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#702B8E
RGBrgb(112, 43, 142)
HSLhsl(282, 54%, 36%)
HSVhsv(282, 70%, 56%)
CMYKcmyk(21.1%, 69.7%, 0%, 44.3%)
CIE-LABlab(32.09, 46.49, -41.65)
CIE-LCHlch(32.09, 62.41, 318.14°)
OKLaboklab(43.5% 0.1123 -0.1173)
OKLCHoklch(43.5% 0.162 313.8)
XYZxyz(12.4276, 7.1259, 26.3067)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B8E #498E2B
analogous
#3F2B8E #702B8E #8E2B7B
triadic
#702B8E #8E702B #2B8E70
tetradic
#702B8E #8E3F2B #498E2B #2B7B8E
square
#702B8E #8E3F2B #498E2B #2B7B8E
split-complementary
#702B8E #7B8E2B #2B8E3F
monochromatic
#260F30 #4B1D5F #702B8E #9539BD #AF63D0

Accessibility & contrast

On white

8.66
#702B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702B8E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B8E#FFFFFF#000000##FFFFFF
##702B8E1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#254D8C
Tritanopia (blue-blind)
#6D3F59
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702b8e;
/* rgb */ color: rgb(112, 43, 142);
/* oklch */ color: oklch(43.5% 0.162 313.8);
Tailwind
colors: {
  custom: {
    50: '#9c6ab0',
    500: '#702b8e',
    950: '#000000',
  },
}
SCSS
$custom: #702b8e;
$custom-light: #9c6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#702b8e",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 281.818,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43495,
    "c": 0.16243,
    "h": 313.8
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

primary
#702B8E
secondary
#79B65F
accent
#DD4B77
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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