#70288F#70288F

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

Color values

HEX#70288F
RGBrgb(112, 40, 143)
HSLhsl(282, 56%, 36%)
HSVhsv(282, 72%, 56%)
CMYKcmyk(21.7%, 72%, 0%, 43.9%)
CIE-LABlab(31.68, 48.04, -42.92)
CIE-LCHlch(31.68, 64.42, 318.22°)
OKLaboklab(43.22% 0.1156 -0.121)
OKLCHoklch(43.22% 0.167 313.7)
XYZxyz(12.3980, 6.9459, 26.6689)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70288F #478F28
analogous
#3C288F #70288F #8F287A
triadic
#70288F #8F7028 #288F70
tetradic
#70288F #8F3C28 #478F28 #287A8F
square
#70288F #8F3C28 #478F28 #287A8F
split-complementary
#70288F #7A8F28 #288F3C
monochromatic
#250D2F #4B1B5F #70288F #9535BF #B05FD2

Accessibility & contrast

On white

8.79
#70288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#70288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70288F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70288F#FFFFFF#000000##FFFFFF
##70288F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#214C8D
Tritanopia (blue-blind)
#6D3E59
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #70288f;
/* rgb */ color: rgb(112, 40, 143);
/* oklch */ color: oklch(43.2% 0.167 313.7);
Tailwind
colors: {
  custom: {
    50: '#9d69b0',
    500: '#70288f',
    950: '#000000',
  },
}
SCSS
$custom: #70288f;
$custom-light: #9d69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#70288f",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 281.942,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43224,
    "c": 0.16736,
    "h": 313.7
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#70288F
secondary
#77B85B
accent
#E04876
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #70288F

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

Preview Lab → · Contrast checker → · Palette generator →

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