#70226E#70226E

#70226E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.4% C 0.144 H 328.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#70226E
RGBrgb(112, 34, 110)
HSLhsl(302, 53%, 29%)
HSVhsv(302, 70%, 44%)
CMYKcmyk(0%, 69.6%, 1.8%, 56.1%)
CIE-LABlab(28.68, 43.98, -26.99)
CIE-LCHlch(28.68, 51.60, 328.47°)
OKLaboklab(40.4% 0.1235 -0.0745)
OKLCHoklch(40.4% 0.144 328.9)
XYZxyz(10.0685, 5.7153, 15.3217)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70226E #227024
analogous
#4B2270 #70226E #702247
triadic
#70226E #6E7022 #226E70
tetradic
#70226E #704B22 #227024 #224770
square
#70226E #704B22 #227024 #224770
split-complementary
#70226E #477022 #22704B
monochromatic
#170717 #411440 #70226E #9F309C #C746C3

Accessibility & contrast

On white

9.80
#70226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#70226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70226E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70226E#FFFFFF#000000##FFFFFF
##70226E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193D70
Deuteranopia (green-blind)
#37476C
Tritanopia (blue-blind)
#742C45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #70226e;
/* rgb */ color: rgb(112, 34, 110);
/* oklch */ color: oklch(40.4% 0.144 328.9);
Tailwind
colors: {
  custom: {
    50: '#9c6498',
    500: '#70226e',
    950: '#000000',
  },
}
SCSS
$custom: #70226e;
$custom-light: #9c6498;
$custom-dark: #000000;
JSON
{
  "hex": "#70226e",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 301.538,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40401,
    "c": 0.14426,
    "h": 328.9
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#70226E
secondary
#4AA34D
accent
#DD4F4B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #70226E

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

Preview Lab → · Contrast checker → · Palette generator →

#70226E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva