#70228A#70228A

#70228A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.170 H 316.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#70228A
RGBrgb(112, 34, 138)
HSLhsl(285, 60%, 34%)
HSVhsv(285, 75%, 54%)
CMYKcmyk(18.8%, 75.4%, 0%, 45.9%)
CIE-LABlab(30.46, 49.47, -41.80)
CIE-LCHlch(30.46, 64.77, 319.80°)
OKLaboklab(42.24% 0.1224 -0.1177)
OKLCHoklch(42.24% 0.17 316.1)
XYZxyz(11.8409, 6.4242, 24.6561)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70228A #3C8A22
analogous
#3C228A #70228A #8A2270
triadic
#70228A #8A7022 #228A70
tetradic
#70228A #8A3C22 #3C8A22 #22708A
square
#70228A #8A3C22 #3C8A22 #22708A
split-complementary
#70228A #708A22 #228A3C
monochromatic
#200A28 #481659 #70228A #982EBB #B452D4

Accessibility & contrast

On white

9.19
#70228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#70228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70228A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70228A#FFFFFF#000000##FFFFFF
##70228A1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#214A88
Tritanopia (blue-blind)
#6E3854
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #70228a;
/* rgb */ color: rgb(112, 34, 138);
/* oklch */ color: oklch(42.2% 0.170 316.1);
Tailwind
colors: {
  custom: {
    50: '#9d66ad',
    500: '#70228a',
    950: '#000000',
  },
}
SCSS
$custom: #70228a;
$custom-light: #9d66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#70228a",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 285,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42242,
    "c": 0.16985,
    "h": 316.1
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#70228A
secondary
#6AB850
accent
#E4446C
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70228A

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

Preview Lab → · Contrast checker → · Palette generator →

#70228A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva