#70147B#70147B

#70147B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.171 H 323.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#70147B
RGBrgb(112, 20, 123)
HSLhsl(294, 72%, 28%)
HSVhsv(294, 84%, 48%)
CMYKcmyk(8.9%, 83.7%, 0%, 51.8%)
CIE-LABlab(27.78, 51.26, -36.71)
CIE-LCHlch(27.78, 63.05, 324.39°)
OKLaboklab(40.02% 0.1368 -0.1027)
OKLCHoklch(40.02% 0.171 323.1)
XYZxyz(10.5071, 5.3758, 19.2193)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70147B #1F7B14
analogous
#3C147B #70147B #7B1452
triadic
#70147B #7B7014 #147B70
tetradic
#70147B #7B3C14 #1F7B14 #14527B
square
#70147B #7B3C14 #1F7B14 #14527B
split-complementary
#70147B #527B14 #147B3C
monochromatic
#18041A #400B46 #70147B #A01DB0 #CA2DDD

Accessibility & contrast

On white

10.12
#70147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#70147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70147B
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70147B#FFFFFF#000000##FFFFFF
##70147B1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#722A49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #70147b;
/* rgb */ color: rgb(112, 20, 123);
/* oklch */ color: oklch(40.0% 0.171 323.1);
Tailwind
colors: {
  custom: {
    50: '#9d5fa2',
    500: '#70147b',
    950: '#000000',
  },
}
SCSS
$custom: #70147b;
$custom-light: #9d5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#70147b",
  "rgb": {
    "r": 112,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 293.592,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40016,
    "c": 0.17101,
    "h": 323.1
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#70147B
secondary
#47B13A
accent
#EF394C
background
#FAF5FA
surface
#F3EAF3
border
#CDC6CD
text
#0F050F
muted
#7F797F

Preview Lab

Preview with #70147B

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

Preview Lab → · Contrast checker → · Palette generator →

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