#70288E#70288E

#70288E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.166 H 314.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#70288E
RGBrgb(112, 40, 142)
HSLhsl(282, 56%, 36%)
HSVhsv(282, 72%, 56%)
CMYKcmyk(21.1%, 71.8%, 0%, 44.3%)
CIE-LABlab(31.61, 47.83, -42.42)
CIE-LCHlch(31.61, 63.93, 318.43°)
OKLaboklab(43.15% 0.1157 -0.1196)
OKLCHoklch(43.15% 0.166 314.1)
XYZxyz(12.3225, 6.9157, 26.2717)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70288E #468E28
analogous
#3D288E #70288E #8E2879
triadic
#70288E #8E7028 #288E70
tetradic
#70288E #8E3D28 #468E28 #28798E
square
#70288E #8E3D28 #468E28 #28798E
split-complementary
#70288E #798E28 #288E3D
monochromatic
#250D2F #4A1B5E #70288E #9635BE #B05FD2

Accessibility & contrast

On white

8.81
#70288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#70288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70288E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70288E#FFFFFF#000000##FFFFFF
##70288E1.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)
#004691
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#6D3D58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #70288e;
/* rgb */ color: rgb(112, 40, 142);
/* oklch */ color: oklch(43.2% 0.166 314.1);
Tailwind
colors: {
  custom: {
    50: '#9d69b0',
    500: '#70288e',
    950: '#000000',
  },
}
SCSS
$custom: #70288e;
$custom-light: #9d69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#70288e",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 282.353,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43153,
    "c": 0.16637,
    "h": 314.1
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#70288E
secondary
#76B75B
accent
#DF4875
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #70288E

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

Preview Lab → · Contrast checker → · Palette generator →

#70288E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva