#70227A#70227A

#70227A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.155 H 322.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#70227A
RGBrgb(112, 34, 122)
HSLhsl(293, 56%, 31%)
HSVhsv(293, 72%, 48%)
CMYKcmyk(8.2%, 72.1%, 0%, 52.2%)
CIE-LABlab(29.40, 46.24, -33.49)
CIE-LCHlch(29.40, 57.09, 324.09°)
OKLaboklab(41.15% 0.1237 -0.0934)
OKLCHoklch(41.15% 0.155 322.9)
XYZxyz(10.7666, 5.9946, 18.9985)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70227A #2C7A22
analogous
#44227A #70227A #7A2258
triadic
#70227A #7A7022 #227A70
tetradic
#70227A #7A4422 #2C7A22 #22587A
square
#70227A #7A4422 #2C7A22 #22587A
split-complementary
#70227A #587A22 #227A44
monochromatic
#18071A #44154A #70227A #9C2FAA #BE4ACD

Accessibility & contrast

On white

9.55
#70227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#70227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70227A
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70227A#FFFFFF#000000##FFFFFF
##70227A1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7D
Deuteranopia (green-blind)
#2F4878
Tritanopia (blue-blind)
#72314B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70227a;
/* rgb */ color: rgb(112, 34, 122);
/* oklch */ color: oklch(41.1% 0.155 322.9);
Tailwind
colors: {
  custom: {
    50: '#9c65a1',
    500: '#70227a',
    950: '#000000',
  },
}
SCSS
$custom: #70227a;
$custom-light: #9c65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#70227a",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 293.182,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41147,
    "c": 0.15498,
    "h": 322.9
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#70227A
secondary
#56AD4B
accent
#E04859
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060F
muted
#7E7A7E

Preview Lab

Preview with #70227A

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

Preview Lab → · Contrast checker → · Palette generator →

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