#702E72#702E72

#702E72 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.1% C 0.130 H 326.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#702E72
RGBrgb(112, 46, 114)
HSLhsl(298, 43%, 31%)
HSVhsv(298, 60%, 45%)
CMYKcmyk(1.8%, 59.6%, 0%, 55.3%)
CIE-LABlab(30.91, 39.19, -26.02)
CIE-LCHlch(30.91, 47.04, 326.41°)
OKLaboklab(42.09% 0.1082 -0.0718)
OKLCHoklch(42.09% 0.13 326.4)
XYZxyz(10.6961, 6.6143, 16.6296)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E72 #30722E
analogous
#4E2E72 #702E72 #722E52
triadic
#702E72 #72702E #2E7270
tetradic
#702E72 #724E2E #30722E #2E5272
square
#702E72 #724E2E #30722E #2E5272
split-complementary
#702E72 #52722E #2E724E
monochromatic
#1A0B1B #451C46 #702E72 #9B409E #BB5DBE

Accessibility & contrast

On white

9.04
#702E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#702E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E72
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E72#FFFFFF#000000##FFFFFF
##702E721.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264374
Deuteranopia (green-blind)
#3C4C70
Tritanopia (blue-blind)
#73374B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702e72;
/* rgb */ color: rgb(112, 46, 114);
/* oklch */ color: oklch(42.1% 0.130 326.4);
Tailwind
colors: {
  custom: {
    50: '#9b6b9b',
    500: '#702e72',
    950: '#000000',
  },
}
SCSS
$custom: #702e72;
$custom-light: #9b6b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#702e72",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 298.235,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.12985,
    "h": 326.4
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#702E72
secondary
#5BA358
accent
#D25659
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #702E72

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

Preview Lab → · Contrast checker → · Palette generator →

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