#70219B#70219B

#70219B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.187 H 310.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#70219B
RGBrgb(112, 33, 155)
HSLhsl(279, 65%, 37%)
HSVhsv(279, 79%, 61%)
CMYKcmyk(27.7%, 78.7%, 0%, 39.2%)
CIE-LABlab(31.58, 53.47, -50.45)
CIE-LCHlch(31.58, 73.51, 316.67°)
OKLaboklab(43.43% 0.1205 -0.1431)
OKLCHoklch(43.43% 0.187 310.1)
XYZxyz(13.1412, 6.8993, 31.6434)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70219B #4C9B21
analogous
#33219B #70219B #9B2189
triadic
#70219B #9B7021 #219B70
tetradic
#70219B #9B3321 #4C9B21 #21899B
square
#70219B #9B3321 #4C9B21 #21899B
split-complementary
#70219B #899B21 #219B33
monochromatic
#270C36 #4C1669 #70219B #942CCD #AE5ADC

Accessibility & contrast

On white

8.82
#70219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#70219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70219B
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70219B#FFFFFF#000000##FFFFFF
##70219B1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#6A3F5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #70219b;
/* rgb */ color: rgb(112, 33, 155);
/* oklch */ color: oklch(43.4% 0.187 310.1);
Tailwind
colors: {
  custom: {
    50: '#9e66b9',
    500: '#70219b',
    950: '#000000',
  },
}
SCSS
$custom: #70219b;
$custom-light: #9e66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#70219b",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 278.852,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43427,
    "c": 0.18705,
    "h": 310.1
  },
  "luminance": 0.06899
}

Semantic roles & 50–950 ramp

primary
#70219B
secondary
#7CC058
accent
#E8407B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #70219B

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

Preview Lab → · Contrast checker → · Palette generator →

#70219B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva