#70126C#70126C

#70126C is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.161 H 330.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#70126C
RGBrgb(112, 18, 108)
HSLhsl(303, 72%, 25%)
HSVhsv(303, 84%, 44%)
CMYKcmyk(0%, 83.9%, 3.6%, 56.1%)
CIE-LABlab(26.62, 49.17, -28.96)
CIE-LCHlch(26.62, 57.07, 329.50°)
OKLaboklab(38.89% 0.1394 -0.0801)
OKLCHoklch(38.89% 0.161 330.1)
XYZxyz(9.6051, 4.9608, 14.6361)
Luminance0.0496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70126C #127016
analogous
#451270 #70126C #70123D
triadic
#70126C #6C7012 #126C70
tetradic
#70126C #704512 #127016 #123D70
square
#70126C #704512 #127016 #123D70
split-complementary
#70126C #3D7012 #127045
monochromatic
#1A0419 #3B0A39 #70126C #A51A9F #D923D2

Accessibility & contrast

On white

10.54
#70126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#70126C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70126C
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70126C#FFFFFF#000000##FFFFFF
##70126C1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01376E
Deuteranopia (green-blind)
#31436A
Tritanopia (blue-blind)
#742140
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #70126c;
/* rgb */ color: rgb(112, 18, 108);
/* oklch */ color: oklch(38.9% 0.161 330.1);
Tailwind
colors: {
  custom: {
    50: '#9c5e96',
    500: '#70126c',
    950: '#000000',
  },
}
SCSS
$custom: #70126c;
$custom-light: #9c5e96;
$custom-dark: #000000;
JSON
{
  "hex": "#70126c",
  "rgb": {
    "r": 112,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 302.553,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38887,
    "c": 0.16073,
    "h": 330.1
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#70126C
secondary
#37A73C
accent
#EF4139
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #70126C

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

Preview Lab → · Contrast checker → · Palette generator →

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