#702B7C#702B7C

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

Color values

HEX#702B7C
RGBrgb(112, 43, 124)
HSLhsl(291, 49%, 33%)
HSVhsv(291, 65%, 49%)
CMYKcmyk(9.7%, 65.3%, 0%, 51.4%)
CIE-LABlab(30.95, 42.66, -32.28)
CIE-LCHlch(30.95, 53.50, 322.88°)
OKLaboklab(42.3% 0.1129 -0.0899)
OKLCHoklch(42.3% 0.144 321.5)
XYZxyz(11.1837, 6.6283, 19.7552)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B7C #377C2B
analogous
#472B7C #702B7C #7C2B5F
triadic
#702B7C #7C702B #2B7C70
tetradic
#702B7C #7C472B #377C2B #2B5F7C
square
#702B7C #7C472B #377C2B #2B5F7C
split-complementary
#702B7C #5F7C2B #2B7C47
monochromatic
#1E0B21 #471B4F #702B7C #993BA9 #B65BC6

Accessibility & contrast

On white

9.03
#702B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#702B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B7C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B7C#FFFFFF#000000##FFFFFF
##702B7C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447E
Deuteranopia (green-blind)
#344B7A
Tritanopia (blue-blind)
#71384F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702b7c;
/* rgb */ color: rgb(112, 43, 124);
/* oklch */ color: oklch(42.3% 0.144 321.5);
Tailwind
colors: {
  custom: {
    50: '#9c69a2',
    500: '#702b7c',
    950: '#000000',
  },
}
SCSS
$custom: #702b7c;
$custom-light: #9c69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#702b7c",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 291.111,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42301,
    "c": 0.14433,
    "h": 321.5
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#702B7C
secondary
#63AC57
accent
#D85064
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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