#70229B#70229B

#70229B is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.186 H 310.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#70229B
RGBrgb(112, 34, 155)
HSLhsl(279, 64%, 37%)
HSVhsv(279, 78%, 61%)
CMYKcmyk(27.7%, 78.1%, 0%, 39.2%)
CIE-LABlab(31.71, 53.10, -50.24)
CIE-LCHlch(31.71, 73.10, 316.59°)
OKLaboklab(43.52% 0.1196 -0.1425)
OKLCHoklch(43.52% 0.186 310)
XYZxyz(13.1693, 6.9556, 31.6528)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70229B #4D9B22
analogous
#34229B #70229B #9B2289
triadic
#70229B #9B7022 #229B70
tetradic
#70229B #9B3422 #4D9B22 #22899B
square
#70229B #9B3422 #4D9B22 #22899B
split-complementary
#70229B #899B22 #229B34
monochromatic
#270C37 #4C1769 #70229B #942DCD #AE5CDB

Accessibility & contrast

On white

8.78
#70229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#70229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70229B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70229B#FFFFFF#000000##FFFFFF
##70229B1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#6A405E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #70229b;
/* rgb */ color: rgb(112, 34, 155);
/* oklch */ color: oklch(43.5% 0.186 310.0);
Tailwind
colors: {
  custom: {
    50: '#9e66b9',
    500: '#70229b',
    950: '#000000',
  },
}
SCSS
$custom: #70229b;
$custom-light: #9e66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#70229b",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 278.678,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43517,
    "c": 0.18602,
    "h": 310
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

primary
#70229B
secondary
#7EC059
accent
#E7417C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #70229B

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

Preview Lab → · Contrast checker → · Palette generator →

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