#70227C#70227C

#70227C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.157 H 322.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#70227C
RGBrgb(112, 34, 124)
HSLhsl(292, 57%, 31%)
HSVhsv(292, 73%, 49%)
CMYKcmyk(9.7%, 72.6%, 0%, 51.4%)
CIE-LABlab(29.52, 46.63, -34.55)
CIE-LCHlch(29.52, 58.04, 323.47°)
OKLaboklab(41.28% 0.1236 -0.0965)
OKLCHoklch(41.28% 0.157 322)
XYZxyz(10.8918, 6.0446, 19.6579)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70227C #2E7C22
analogous
#43227C #70227C #7C225B
triadic
#70227C #7C7022 #227C70
tetradic
#70227C #7C4322 #2E7C22 #225B7C
square
#70227C #7C4322 #2E7C22 #225B7C
split-complementary
#70227C #5B7C22 #227C43
monochromatic
#19081C #45154C #70227C #9B2FAC #BC4BCE

Accessibility & contrast

On white

9.51
#70227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#70227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70227C
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70227C#FFFFFF#000000##FFFFFF
##70227C1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01407F
Deuteranopia (green-blind)
#2E487A
Tritanopia (blue-blind)
#71324C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #70227c;
/* rgb */ color: rgb(112, 34, 124);
/* oklch */ color: oklch(41.3% 0.157 322.0);
Tailwind
colors: {
  custom: {
    50: '#9c65a2',
    500: '#70227c',
    950: '#000000',
  },
}
SCSS
$custom: #70227c;
$custom-light: #9c65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#70227c",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 292,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41278,
    "c": 0.15681,
    "h": 322
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#70227C
secondary
#58AF4B
accent
#E0485C
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70227C

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

Preview Lab → · Contrast checker → · Palette generator →

#70227C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva