#702271#702271

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

Color values

HEX#702271
RGBrgb(112, 34, 113)
HSLhsl(299, 54%, 29%)
HSVhsv(299, 70%, 44%)
CMYKcmyk(0.9%, 69.9%, 0%, 55.7%)
CIE-LABlab(28.85, 44.53, -28.63)
CIE-LCHlch(28.85, 52.95, 327.26°)
OKLaboklab(40.58% 0.1237 -0.0793)
OKLCHoklch(40.58% 0.147 327.3)
XYZxyz(10.2346, 5.7817, 16.1965)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702271 #237122
analogous
#492271 #702271 #71224B
triadic
#702271 #717022 #227170
tetradic
#702271 #714922 #237122 #224B71
square
#702271 #714922 #237122 #224B71
split-complementary
#702271 #4B7122 #227149
monochromatic
#170718 #411442 #702271 #9F30A0 #C646C7

Accessibility & contrast

On white

9.74
#702271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702271
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702271#FFFFFF#000000##FFFFFF
##7022711.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E73
Deuteranopia (green-blind)
#35486F
Tritanopia (blue-blind)
#732D46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #702271;
/* rgb */ color: rgb(112, 34, 113);
/* oklch */ color: oklch(40.6% 0.147 327.3);
Tailwind
colors: {
  custom: {
    50: '#9c649a',
    500: '#702271',
    950: '#000000',
  },
}
SCSS
$custom: #702271;
$custom-light: #9c649a;
$custom-dark: #000000;
JSON
{
  "hex": "#702271",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 299.241,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40581,
    "c": 0.14689,
    "h": 327.3
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#702271
secondary
#4CA44A
accent
#DD4B4D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #702271

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

Preview Lab → · Contrast checker → · Palette generator →

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