#70299A#70299A

#70299A is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.177 H 309.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#70299A
RGBrgb(112, 41, 154)
HSLhsl(278, 58%, 38%)
HSVhsv(278, 73%, 60%)
CMYKcmyk(27.3%, 73.4%, 0%, 39.6%)
CIE-LABlab(32.62, 50.05, -48.15)
CIE-LCHlch(32.62, 69.45, 316.11°)
OKLaboklab(44.14% 0.1131 -0.1364)
OKLCHoklch(44.14% 0.177 309.7)
XYZxyz(13.3066, 7.3640, 31.2860)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70299A #539A29
analogous
#37299A #70299A #9A298B
triadic
#70299A #9A7029 #299A70
tetradic
#70299A #9A3729 #539A29 #298B9A
square
#70299A #9A3729 #539A29 #298B9A
split-complementary
#70299A #8B9A29 #299A37
monochromatic
#2A0F39 #4D1C6A #70299A #9337CA #AD67D7

Accessibility & contrast

On white

8.49
#70299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#70299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70299A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70299A#FFFFFF#000000##FFFFFF
##70299A1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#0F4E98
Tritanopia (blue-blind)
#6A435F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #70299a;
/* rgb */ color: rgb(112, 41, 154);
/* oklch */ color: oklch(44.1% 0.177 309.7);
Tailwind
colors: {
  custom: {
    50: '#9d6ab8',
    500: '#70299a',
    950: '#000000',
  },
}
SCSS
$custom: #70299a;
$custom-light: #9d6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#70299a",
  "rgb": {
    "r": 112,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 277.699,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44141,
    "c": 0.17716,
    "h": 309.7
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

primary
#70299A
secondary
#84BD62
accent
#E14780
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #70299A

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

Preview Lab → · Contrast checker → · Palette generator →

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