#70126B#70126B

#70126B is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.160 H 330.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#70126B
RGBrgb(112, 18, 107)
HSLhsl(303, 72%, 25%)
HSVhsv(303, 84%, 44%)
CMYKcmyk(0%, 83.9%, 4.5%, 56.1%)
CIE-LABlab(26.56, 49.01, -28.41)
CIE-LCHlch(26.56, 56.65, 329.90°)
OKLaboklab(38.82% 0.1394 -0.0785)
OKLCHoklch(38.82% 0.16 330.6)
XYZxyz(9.5522, 4.9397, 14.3574)
Luminance0.0494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70126B #127017
analogous
#461270 #70126B #70123C
triadic
#70126B #6B7012 #126B70
tetradic
#70126B #704612 #127017 #123C70
square
#70126B #704612 #127017 #123C70
split-complementary
#70126B #3C7012 #127046
monochromatic
#1A0419 #3B0A39 #70126B #A51A9D #D923D0

Accessibility & contrast

On white

10.56
#70126B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70126B
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70126B#FFFFFF#000000##FFFFFF
##70126B1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03376D
Deuteranopia (green-blind)
#314369
Tritanopia (blue-blind)
#75203F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #70126b;
/* rgb */ color: rgb(112, 18, 107);
/* oklch */ color: oklch(38.8% 0.160 330.6);
Tailwind
colors: {
  custom: {
    50: '#9c5e96',
    500: '#70126b',
    950: '#000000',
  },
}
SCSS
$custom: #70126b;
$custom-light: #9c5e96;
$custom-dark: #000000;
JSON
{
  "hex": "#70126b",
  "rgb": {
    "r": 112,
    "g": 18,
    "b": 107
  },
  "hsl": {
    "h": 303.191,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38824,
    "c": 0.15996,
    "h": 330.6
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#70126B
secondary
#37A73D
accent
#EF4239
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #70126B

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

Preview Lab → · Contrast checker → · Palette generator →

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