#70228D#70228D

#70228D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.173 H 315.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#70228D
RGBrgb(112, 34, 141)
HSLhsl(284, 61%, 34%)
HSVhsv(284, 76%, 55%)
CMYKcmyk(20.6%, 75.9%, 0%, 44.7%)
CIE-LABlab(30.67, 50.09, -43.32)
CIE-LCHlch(30.67, 66.23, 319.15°)
OKLaboklab(42.46% 0.1221 -0.1222)
OKLCHoklch(42.46% 0.173 315)
XYZxyz(12.0610, 6.5123, 25.8158)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70228D #3F8D22
analogous
#3A228D #70228D #8D2275
triadic
#70228D #8D7022 #228D70
tetradic
#70228D #8D3A22 #3F8D22 #22758D
square
#70228D #8D3A22 #3F8D22 #22758D
split-complementary
#70228D #758D22 #228D3A
monochromatic
#220A2A #49165C #70228D #972EBE #B254D6

Accessibility & contrast

On white

9.12
#70228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#70228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70228D
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70228D#FFFFFF#000000##FFFFFF
##70228D1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#1D4A8B
Tritanopia (blue-blind)
#6E3956
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #70228d;
/* rgb */ color: rgb(112, 34, 141);
/* oklch */ color: oklch(42.5% 0.173 315.0);
Tailwind
colors: {
  custom: {
    50: '#9d66af',
    500: '#70228d',
    950: '#000000',
  },
}
SCSS
$custom: #70228d;
$custom-light: #9d66af;
$custom-dark: #000000;
JSON
{
  "hex": "#70228d",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 283.738,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42459,
    "c": 0.17269,
    "h": 315
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#70228D
secondary
#6EB951
accent
#E4446F
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70228D

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

Preview Lab → · Contrast checker → · Palette generator →

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