#702C8A#702C8A

#702C8A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.157 H 315.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#702C8A
RGBrgb(112, 44, 138)
HSLhsl(283, 52%, 36%)
HSVhsv(283, 68%, 54%)
CMYKcmyk(18.8%, 68.1%, 0%, 45.9%)
CIE-LABlab(31.99, 45.15, -39.34)
CIE-LCHlch(31.99, 59.88, 318.93°)
OKLaboklab(43.34% 0.1114 -0.1106)
OKLCHoklch(43.34% 0.157 315.2)
XYZxyz(12.1695, 7.0815, 24.7657)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C8A #468A2C
analogous
#412C8A #702C8A #8A2C75
triadic
#702C8A #8A702C #2C8A70
tetradic
#702C8A #8A412C #468A2C #2C758A
square
#702C8A #8A412C #468A2C #2C758A
split-complementary
#702C8A #758A2C #2C8A41
monochromatic
#250E2D #4A1D5C #702C8A #963BB8 #B063CD

Accessibility & contrast

On white

8.69
#702C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702C8A
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C8A#FFFFFF#000000##FFFFFF
##702C8A1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#2A4D88
Tritanopia (blue-blind)
#6E3E57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702c8a;
/* rgb */ color: rgb(112, 44, 138);
/* oklch */ color: oklch(43.3% 0.157 315.2);
Tailwind
colors: {
  custom: {
    50: '#9c6bad',
    500: '#702c8a',
    950: '#000000',
  },
}
SCSS
$custom: #702c8a;
$custom-light: #9c6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#702c8a",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 283.404,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43338,
    "c": 0.15697,
    "h": 315.2
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#702C8A
secondary
#76B45E
accent
#DB4D74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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