#702A7C#702A7C

#702A7C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.146 H 321.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#702A7C
RGBrgb(112, 42, 124)
HSLhsl(291, 49%, 33%)
HSVhsv(291, 66%, 49%)
CMYKcmyk(9.7%, 66.1%, 0%, 51.4%)
CIE-LABlab(30.78, 43.13, -32.55)
CIE-LCHlch(30.78, 54.04, 322.96°)
OKLaboklab(42.18% 0.1142 -0.0907)
OKLCHoklch(42.18% 0.146 321.5)
XYZxyz(11.1477, 6.5565, 19.7432)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A7C #367C2A
analogous
#472A7C #702A7C #7C2A5F
triadic
#702A7C #7C702A #2A7C70
tetradic
#702A7C #7C472A #367C2A #2A5F7C
square
#702A7C #7C472A #367C2A #2A5F7C
split-complementary
#702A7C #5F7C2A #2A7C47
monochromatic
#1D0B21 #471B4E #702A7C #9939AA #B759C7

Accessibility & contrast

On white

9.09
#702A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#702A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A7C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A7C#FFFFFF#000000##FFFFFF
##702A7C1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437E
Deuteranopia (green-blind)
#334B7A
Tritanopia (blue-blind)
#71374F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #702a7c;
/* rgb */ color: rgb(112, 42, 124);
/* oklch */ color: oklch(42.2% 0.146 321.5);
Tailwind
colors: {
  custom: {
    50: '#9c69a2',
    500: '#702a7c',
    950: '#000000',
  },
}
SCSS
$custom: #702a7c;
$custom-light: #9c69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#702a7c",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 291.22,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42178,
    "c": 0.14581,
    "h": 321.5
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

primary
#702A7C
secondary
#62AD55
accent
#D94F63
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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