#702276#702276

#702276 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.151 H 324.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#702276
RGBrgb(112, 34, 118)
HSLhsl(296, 55%, 30%)
HSVhsv(296, 71%, 46%)
CMYKcmyk(5.1%, 71.2%, 0%, 53.7%)
CIE-LABlab(29.15, 45.47, -31.34)
CIE-LCHlch(29.15, 55.23, 325.42°)
OKLaboklab(40.89% 0.1238 -0.0871)
OKLCHoklch(40.89% 0.151 324.8)
XYZxyz(10.5239, 5.8975, 17.7200)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702276 #287622
analogous
#462276 #702276 #762252
triadic
#702276 #767022 #227670
tetradic
#702276 #764622 #287622 #225276
square
#702276 #764622 #287622 #225276
split-complementary
#702276 #527622 #227646
monochromatic
#170718 #431446 #702276 #9D30A6 #C148CA

Accessibility & contrast

On white

9.64
#702276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702276
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702276#FFFFFF#000000##FFFFFF
##7022761.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3F78
Deuteranopia (green-blind)
#324874
Tritanopia (blue-blind)
#722F49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #702276;
/* rgb */ color: rgb(112, 34, 118);
/* oklch */ color: oklch(40.9% 0.151 324.8);
Tailwind
colors: {
  custom: {
    50: '#9c659e',
    500: '#702276',
    950: '#000000',
  },
}
SCSS
$custom: #702276;
$custom-light: #9c659e;
$custom-dark: #000000;
JSON
{
  "hex": "#702276",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 295.714,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.15135,
    "h": 324.8
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#702276
secondary
#51A94B
accent
#DF4954
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #702276

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

Preview Lab → · Contrast checker → · Palette generator →

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