#70229C#70229C

#70229C is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.187 H 309.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#70229C
RGBrgb(112, 34, 156)
HSLhsl(278, 64%, 37%)
HSVhsv(278, 78%, 61%)
CMYKcmyk(28.2%, 78.2%, 0%, 38.8%)
CIE-LABlab(31.78, 53.32, -50.72)
CIE-LCHlch(31.78, 73.59, 316.43°)
OKLaboklab(43.6% 0.1194 -0.1439)
OKLCHoklch(43.6% 0.187 309.7)
XYZxyz(13.2537, 6.9894, 32.0969)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70229C #4E9C22
analogous
#33229C #70229C #9C228B
triadic
#70229C #9C7022 #229C70
tetradic
#70229C #9C3322 #4E9C22 #228B9C
square
#70229C #9C3322 #4E9C22 #228B9C
split-complementary
#70229C #8B9C22 #229C33
monochromatic
#280C38 #4C176A #70229C #942DCE #AE5DDC

Accessibility & contrast

On white

8.76
#70229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#70229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70229C
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70229C#FFFFFF#000000##FFFFFF
##70229C1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#6A405E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #70229c;
/* rgb */ color: rgb(112, 34, 156);
/* oklch */ color: oklch(43.6% 0.187 309.7);
Tailwind
colors: {
  custom: {
    50: '#9e66ba',
    500: '#70229c',
    950: '#000000',
  },
}
SCSS
$custom: #70229c;
$custom-light: #9e66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#70229c",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 278.361,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43596,
    "c": 0.18697,
    "h": 309.7
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#70229C
secondary
#7FC05A
accent
#E7417D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #70229C

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

Preview Lab → · Contrast checker → · Palette generator →

#70229C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva