#70229A#70229A

#70229A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.185 H 310.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#70229A
RGBrgb(112, 34, 154)
HSLhsl(279, 64%, 37%)
HSVhsv(279, 78%, 60%)
CMYKcmyk(27.3%, 77.9%, 0%, 39.6%)
CIE-LABlab(31.63, 52.88, -49.75)
CIE-LCHlch(31.63, 72.61, 316.75°)
OKLaboklab(43.44% 0.1198 -0.1411)
OKLCHoklch(43.44% 0.185 310.3)
XYZxyz(13.0857, 6.9222, 31.2124)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70229A #4C9A22
analogous
#34229A #70229A #9A2288
triadic
#70229A #9A7022 #229A70
tetradic
#70229A #9A3422 #4C9A22 #22889A
square
#70229A #9A3422 #4C9A22 #22889A
split-complementary
#70229A #889A22 #229A34
monochromatic
#270C36 #4C1768 #70229A #942DCC #AE5BDB

Accessibility & contrast

On white

8.81
#70229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#70229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70229A
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70229A#FFFFFF#000000##FFFFFF
##70229A1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004C98
Tritanopia (blue-blind)
#6A3F5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #70229a;
/* rgb */ color: rgb(112, 34, 154);
/* oklch */ color: oklch(43.4% 0.185 310.3);
Tailwind
colors: {
  custom: {
    50: '#9e66b9',
    500: '#70229a',
    950: '#000000',
  },
}
SCSS
$custom: #70229a;
$custom-light: #9e66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#70229a",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 279,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43439,
    "c": 0.18506,
    "h": 310.3
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#70229A
secondary
#7CBF58
accent
#E7417B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #70229A

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

Preview Lab → · Contrast checker → · Palette generator →

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