#70226F#70226F

#70226F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.145 H 328.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#70226F
RGBrgb(112, 34, 111)
HSLhsl(301, 53%, 29%)
HSVhsv(301, 70%, 44%)
CMYKcmyk(0%, 69.6%, 0.9%, 56.1%)
CIE-LABlab(28.74, 44.17, -27.54)
CIE-LCHlch(28.74, 52.05, 328.06°)
OKLaboklab(40.46% 0.1236 -0.0761)
OKLCHoklch(40.46% 0.145 328.4)
XYZxyz(10.1232, 5.7372, 15.6100)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70226F #227023
analogous
#4A2270 #70226F #702248
triadic
#70226F #6F7022 #226F70
tetradic
#70226F #704A22 #227023 #224870
square
#70226F #704A22 #227023 #224870
split-complementary
#70226F #487022 #22704A
monochromatic
#170717 #411440 #70226F #9F309E #C746C5

Accessibility & contrast

On white

9.78
#70226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#70226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70226F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70226F#FFFFFF#000000##FFFFFF
##70226F1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#36476D
Tritanopia (blue-blind)
#742C45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #70226f;
/* rgb */ color: rgb(112, 34, 111);
/* oklch */ color: oklch(40.5% 0.145 328.4);
Tailwind
colors: {
  custom: {
    50: '#9c6498',
    500: '#70226f',
    950: '#000000',
  },
}
SCSS
$custom: #70226f;
$custom-light: #9c6498;
$custom-dark: #000000;
JSON
{
  "hex": "#70226f",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 300.769,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4046,
    "c": 0.14514,
    "h": 328.4
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#70226F
secondary
#4AA34C
accent
#DD4D4B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #70226F

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

Preview Lab → · Contrast checker → · Palette generator →

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