#70227F#70227F

#70227F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.160 H 320.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#70227F
RGBrgb(112, 34, 127)
HSLhsl(290, 58%, 32%)
HSVhsv(290, 73%, 50%)
CMYKcmyk(11.8%, 73.2%, 0%, 50.2%)
CIE-LABlab(29.72, 47.23, -36.13)
CIE-LCHlch(29.72, 59.46, 322.59°)
OKLaboklab(41.48% 0.1235 -0.1011)
OKLCHoklch(41.48% 0.16 320.7)
XYZxyz(11.0844, 6.1217, 20.6723)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70227F #317F22
analogous
#42227F #70227F #7F2260
triadic
#70227F #7F7022 #227F70
tetradic
#70227F #7F4222 #317F22 #22607F
square
#70227F #7F4222 #317F22 #22607F
split-complementary
#70227F #607F22 #227F42
monochromatic
#1B081E #45154F #70227F #9B2FAF #BA4CCF

Accessibility & contrast

On white

9.44
#70227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#70227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70227F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70227F#FFFFFF#000000##FFFFFF
##70227F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#2C497D
Tritanopia (blue-blind)
#71334E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #70227f;
/* rgb */ color: rgb(112, 34, 127);
/* oklch */ color: oklch(41.5% 0.160 320.7);
Tailwind
colors: {
  custom: {
    50: '#9c65a5',
    500: '#70227f',
    950: '#000000',
  },
}
SCSS
$custom: #70227f;
$custom-light: #9c65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#70227f",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 290.323,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41478,
    "c": 0.15957,
    "h": 320.7
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#70227F
secondary
#5CB24B
accent
#E14760
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70227F

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

Preview Lab → · Contrast checker → · Palette generator →

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