#70227B#70227B

#70227B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.156 H 322.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#70227B
RGBrgb(112, 34, 123)
HSLhsl(293, 57%, 31%)
HSVhsv(293, 72%, 48%)
CMYKcmyk(8.9%, 72.4%, 0%, 51.8%)
CIE-LABlab(29.46, 46.44, -34.02)
CIE-LCHlch(29.46, 57.56, 323.78°)
OKLaboklab(41.21% 0.1237 -0.0949)
OKLCHoklch(41.21% 0.156 322.5)
XYZxyz(10.8289, 6.0195, 19.3265)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70227B #2D7B22
analogous
#43227B #70227B #7B2259
triadic
#70227B #7B7022 #227B70
tetradic
#70227B #7B4322 #2D7B22 #22597B
square
#70227B #7B4322 #2D7B22 #22597B
split-complementary
#70227B #597B22 #227B43
monochromatic
#19071B #44154B #70227B #9C2FAB #BD4ACD

Accessibility & contrast

On white

9.53
#70227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70227B
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70227B#FFFFFF#000000##FFFFFF
##70227B1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03407E
Deuteranopia (green-blind)
#2F4879
Tritanopia (blue-blind)
#72324C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70227b;
/* rgb */ color: rgb(112, 34, 123);
/* oklch */ color: oklch(41.2% 0.156 322.5);
Tailwind
colors: {
  custom: {
    50: '#9c65a2',
    500: '#70227b',
    950: '#000000',
  },
}
SCSS
$custom: #70227b;
$custom-light: #9c65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#70227b",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 292.584,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41212,
    "c": 0.1559,
    "h": 322.5
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#70227B
secondary
#57AE4B
accent
#E0485B
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70227B

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

Preview Lab → · Contrast checker → · Palette generator →

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