#70286C#70286C

#70286C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.134 H 329.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#70286C
RGBrgb(112, 40, 108)
HSLhsl(303, 47%, 30%)
HSVhsv(303, 64%, 44%)
CMYKcmyk(0%, 64.3%, 3.6%, 56.1%)
CIE-LABlab(29.53, 40.96, -24.38)
CIE-LCHlch(29.53, 47.66, 329.24°)
OKLaboklab(40.98% 0.1158 -0.067)
OKLCHoklch(40.98% 0.134 329.9)
XYZxyz(10.1476, 6.0457, 14.8169)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70286C #28702C
analogous
#502870 #70286C #702848
triadic
#70286C #6C7028 #286C70
tetradic
#70286C #705028 #28702C #284870
square
#70286C #705028 #28702C #284870
split-complementary
#70286C #487028 #287050
monochromatic
#170816 #431841 #70286C #9D3897 #C151BB

Accessibility & contrast

On white

9.51
#70286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#70286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70286C
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70286C#FFFFFF#000000##FFFFFF
##70286C1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6E
Deuteranopia (green-blind)
#3B496A
Tritanopia (blue-blind)
#743046
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #70286c;
/* rgb */ color: rgb(112, 40, 108);
/* oklch */ color: oklch(41.0% 0.134 329.9);
Tailwind
colors: {
  custom: {
    50: '#9b6796',
    500: '#70286c',
    950: '#000000',
  },
}
SCSS
$custom: #70286c;
$custom-light: #9b6796;
$custom-dark: #000000;
JSON
{
  "hex": "#70286c",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 303.333,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40978,
    "c": 0.13378,
    "h": 329.9
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#70286C
secondary
#51A256
accent
#D75851
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #70286C

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

Preview Lab → · Contrast checker → · Palette generator →

#70286C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva