#702277#702277

#702277 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.152 H 324.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#702277
RGBrgb(112, 34, 119)
HSLhsl(295, 56%, 30%)
HSVhsv(295, 71%, 47%)
CMYKcmyk(5.9%, 71.4%, 0%, 53.3%)
CIE-LABlab(29.21, 45.66, -31.88)
CIE-LCHlch(29.21, 55.69, 325.08°)
OKLaboklab(40.95% 0.1237 -0.0887)
OKLCHoklch(40.95% 0.152 324.4)
XYZxyz(10.5836, 5.9214, 18.0347)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702277 #297722
analogous
#462277 #702277 #772253
triadic
#702277 #777022 #227770
tetradic
#702277 #774622 #297722 #225377
square
#702277 #774622 #297722 #225377
split-complementary
#702277 #537722 #227746
monochromatic
#160718 #431447 #702277 #9D30A7 #C049CB

Accessibility & contrast

On white

9.61
#702277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#702277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702277
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702277#FFFFFF#000000##FFFFFF
##7022771.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3F79
Deuteranopia (green-blind)
#314875
Tritanopia (blue-blind)
#72304A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #702277;
/* rgb */ color: rgb(112, 34, 119);
/* oklch */ color: oklch(41.0% 0.152 324.4);
Tailwind
colors: {
  custom: {
    50: '#9c659f',
    500: '#702277',
    950: '#000000',
  },
}
SCSS
$custom: #702277;
$custom-light: #9c659f;
$custom-dark: #000000;
JSON
{
  "hex": "#702277",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 295.059,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.40954,
    "c": 0.15225,
    "h": 324.4
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#702277
secondary
#53AA4B
accent
#DF4955
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #702277

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

Preview Lab → · Contrast checker → · Palette generator →

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