#70256A#70256A

#70256A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.5% C 0.137 H 331.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#70256A
RGBrgb(112, 37, 106)
HSLhsl(305, 50%, 29%)
HSVhsv(305, 67%, 44%)
CMYKcmyk(0%, 67%, 5.4%, 56.1%)
CIE-LABlab(28.93, 41.96, -24.04)
CIE-LCHlch(28.93, 48.36, 330.20°)
OKLaboklab(40.51% 0.1195 -0.066)
OKLCHoklch(40.51% 0.137 331.1)
XYZxyz(9.9451, 5.8092, 14.2304)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70256A #25702B
analogous
#512570 #70256A #702545
triadic
#70256A #6A7025 #256A70
tetradic
#70256A #705125 #25702B #254570
square
#70256A #705125 #25702B #254570
split-complementary
#70256A #457025 #257051
monochromatic
#170816 #42163E #70256A #9E3496 #C44CBA

Accessibility & contrast

On white

9.72
#70256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#70256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70256A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70256A#FFFFFF#000000##FFFFFF
##70256A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203D6C
Deuteranopia (green-blind)
#3A4868
Tritanopia (blue-blind)
#742D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #70256a;
/* rgb */ color: rgb(112, 37, 106);
/* oklch */ color: oklch(40.5% 0.137 331.1);
Tailwind
colors: {
  custom: {
    50: '#9c6695',
    500: '#70256a',
    950: '#000000',
  },
}
SCSS
$custom: #70256a;
$custom-light: #9c6695;
$custom-dark: #000000;
JSON
{
  "hex": "#70256a",
  "rgb": {
    "r": 112,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 304.8,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40505,
    "c": 0.13652,
    "h": 331.1
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#70256A
secondary
#4EA355
accent
#DA594E
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #70256A

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

Preview Lab → · Contrast checker → · Palette generator →

#70256A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva