#70288B#70288B

#70288B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.163 H 315.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#70288B
RGBrgb(112, 40, 139)
HSLhsl(284, 55%, 35%)
HSVhsv(284, 71%, 55%)
CMYKcmyk(19.4%, 71.2%, 0%, 45.5%)
CIE-LABlab(31.41, 47.18, -40.89)
CIE-LCHlch(31.41, 62.44, 319.08°)
OKLaboklab(42.94% 0.116 -0.1151)
OKLCHoklch(42.94% 0.163 315.2)
XYZxyz(12.1003, 6.8268, 25.1014)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70288B #438B28
analogous
#3E288B #70288B #8B2875
triadic
#70288B #8B7028 #288B70
tetradic
#70288B #8B3E28 #438B28 #28758B
square
#70288B #8B3E28 #438B28 #28758B
split-complementary
#70288B #758B28 #288B3E
monochromatic
#230D2C #4A1A5B #70288B #9636BB #B15DD0

Accessibility & contrast

On white

8.88
#70288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#70288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70288B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70288B#FFFFFF#000000##FFFFFF
##70288B1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#6E3C56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #70288b;
/* rgb */ color: rgb(112, 40, 139);
/* oklch */ color: oklch(42.9% 0.163 315.2);
Tailwind
colors: {
  custom: {
    50: '#9c68ad',
    500: '#70288b',
    950: '#000000',
  },
}
SCSS
$custom: #70288b;
$custom-light: #9c68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#70288b",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 283.636,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42941,
    "c": 0.16339,
    "h": 315.2
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#70288B
secondary
#72B659
accent
#DF4972
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #70288B

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

Preview Lab → · Contrast checker → · Palette generator →

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