#70286B#70286B

#70286B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.9% C 0.133 H 330.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#70286B
RGBrgb(112, 40, 107)
HSLhsl(304, 47%, 30%)
HSVhsv(304, 64%, 44%)
CMYKcmyk(0%, 64.3%, 4.5%, 56.1%)
CIE-LABlab(29.47, 40.77, -23.82)
CIE-LCHlch(29.47, 47.22, 329.71°)
OKLaboklab(40.92% 0.1157 -0.0654)
OKLCHoklch(40.92% 0.133 330.5)
XYZxyz(10.0947, 6.0246, 14.5382)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70286B #28702D
analogous
#512870 #70286B #702847
triadic
#70286B #6B7028 #286B70
tetradic
#70286B #705128 #28702D #284770
square
#70286B #705128 #28702D #284770
split-complementary
#70286B #477028 #287051
monochromatic
#170816 #431840 #70286B #9D3896 #C151B9

Accessibility & contrast

On white

9.52
#70286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#70286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70286B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70286B#FFFFFF#000000##FFFFFF
##70286B1.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6D
Deuteranopia (green-blind)
#3B4969
Tritanopia (blue-blind)
#742F45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70286b;
/* rgb */ color: rgb(112, 40, 107);
/* oklch */ color: oklch(40.9% 0.133 330.5);
Tailwind
colors: {
  custom: {
    50: '#9b6795',
    500: '#70286b',
    950: '#000000',
  },
}
SCSS
$custom: #70286b;
$custom-light: #9b6795;
$custom-dark: #000000;
JSON
{
  "hex": "#70286b",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 304.167,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40922,
    "c": 0.13289,
    "h": 330.5
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#70286B
secondary
#51A257
accent
#D75A51
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #70286B

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

Preview Lab → · Contrast checker → · Palette generator →

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