#70256F#70256F

#70256F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.141 H 328.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#70256F
RGBrgb(112, 37, 111)
HSLhsl(301, 50%, 29%)
HSVhsv(301, 67%, 44%)
CMYKcmyk(0%, 67%, 0.9%, 56.1%)
CIE-LABlab(29.20, 42.88, -26.81)
CIE-LCHlch(29.20, 50.57, 327.98°)
OKLaboklab(40.79% 0.1199 -0.074)
OKLCHoklch(40.79% 0.141 328.3)
XYZxyz(10.2128, 5.9163, 15.6399)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70256F #257026
analogous
#4C2570 #70256F #70254A
triadic
#70256F #6F7025 #256F70
tetradic
#70256F #704C25 #257026 #254A70
square
#70256F #704C25 #257026 #254A70
split-complementary
#70256F #4A7025 #25704C
monochromatic
#170817 #421641 #70256F #9E349D #C44CC2

Accessibility & contrast

On white

9.62
#70256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#70256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70256F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70256F#FFFFFF#000000##FFFFFF
##70256F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E71
Deuteranopia (green-blind)
#38486D
Tritanopia (blue-blind)
#742F46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70256f;
/* rgb */ color: rgb(112, 37, 111);
/* oklch */ color: oklch(40.8% 0.141 328.3);
Tailwind
colors: {
  custom: {
    50: '#9c6698',
    500: '#70256f',
    950: '#000000',
  },
}
SCSS
$custom: #70256f;
$custom-light: #9c6698;
$custom-dark: #000000;
JSON
{
  "hex": "#70256f",
  "rgb": {
    "r": 112,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 300.8,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.14092,
    "h": 328.3
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#70256F
secondary
#4EA34F
accent
#DA504E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #70256F

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

Preview Lab → · Contrast checker → · Palette generator →

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