#70288D#70288D

#70288D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.165 H 314.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#70288D
RGBrgb(112, 40, 141)
HSLhsl(283, 56%, 35%)
HSVhsv(283, 72%, 55%)
CMYKcmyk(20.6%, 71.6%, 0%, 44.7%)
CIE-LABlab(31.55, 47.61, -41.91)
CIE-LCHlch(31.55, 63.43, 318.64°)
OKLaboklab(43.08% 0.1158 -0.1181)
OKLCHoklch(43.08% 0.165 314.4)
XYZxyz(12.2478, 6.8858, 25.8781)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70288D #458D28
analogous
#3D288D #70288D #8D2877
triadic
#70288D #8D7028 #288D70
tetradic
#70288D #8D3D28 #458D28 #28778D
square
#70288D #8D3D28 #458D28 #28778D
split-complementary
#70288D #778D28 #288D3D
monochromatic
#240D2E #4A1A5D #70288D #9636BD #B05ED1

Accessibility & contrast

On white

8.83
#70288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70288D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70288D#FFFFFF#000000##FFFFFF
##70288D1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#6D3D57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #70288d;
/* rgb */ color: rgb(112, 40, 141);
/* oklch */ color: oklch(43.1% 0.165 314.4);
Tailwind
colors: {
  custom: {
    50: '#9c69af',
    500: '#70288d',
    950: '#000000',
  },
}
SCSS
$custom: #70288d;
$custom-light: #9c69af;
$custom-dark: #000000;
JSON
{
  "hex": "#70288d",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 282.772,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43082,
    "c": 0.16537,
    "h": 314.4
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#70288D
secondary
#75B75A
accent
#DF4974
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #70288D

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

Preview Lab → · Contrast checker → · Palette generator →

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