#702272#702272

#702272 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.148 H 326.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#702272
RGBrgb(112, 34, 114)
HSLhsl(299, 54%, 29%)
HSVhsv(299, 70%, 45%)
CMYKcmyk(1.8%, 70.2%, 0%, 55.3%)
CIE-LABlab(28.91, 44.72, -29.18)
CIE-LCHlch(28.91, 53.40, 326.88°)
OKLaboklab(40.64% 0.1237 -0.0808)
OKLCHoklch(40.64% 0.148 326.8)
XYZxyz(10.2912, 5.8044, 16.4946)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702272 #247222
analogous
#482272 #702272 #72224C
triadic
#702272 #727022 #227270
tetradic
#702272 #724822 #247222 #224C72
square
#702272 #724822 #247222 #224C72
split-complementary
#702272 #4C7222 #227248
monochromatic
#170718 #421443 #702272 #9E30A1 #C546C8

Accessibility & contrast

On white

9.72
#702272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#702272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702272
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702272#FFFFFF#000000##FFFFFF
##7022721.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E74
Deuteranopia (green-blind)
#344870
Tritanopia (blue-blind)
#732E47
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #702272;
/* rgb */ color: rgb(112, 34, 114);
/* oklch */ color: oklch(40.6% 0.148 326.8);
Tailwind
colors: {
  custom: {
    50: '#9c649b',
    500: '#702272',
    950: '#000000',
  },
}
SCSS
$custom: #702272;
$custom-light: #9c649b;
$custom-dark: #000000;
JSON
{
  "hex": "#702272",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 298.5,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40642,
    "c": 0.14777,
    "h": 326.8
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#702272
secondary
#4DA54B
accent
#DD4A4E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #702272

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

Preview Lab → · Contrast checker → · Palette generator →

#702272 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva