#70407D#70407D

#70407D is a mid, moderate purple. Relative luminance 0.086; OKLCH L 45.4% C 0.110 H 318.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#70407D
RGBrgb(112, 64, 125)
HSLhsl(287, 32%, 37%)
HSVhsv(287, 49%, 49%)
CMYKcmyk(10.4%, 48.8%, 0%, 51%)
CIE-LABlab(35.19, 31.70, -26.21)
CIE-LCHlch(35.19, 41.13, 320.41°)
OKLaboklab(45.43% 0.0828 -0.0725)
OKLCHoklch(45.43% 0.11 318.8)
XYZxyz(12.2167, 8.5926, 20.4131)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70407D #4D7D40
analogous
#52407D #70407D #7D406C
triadic
#70407D #7D7040 #407D70
tetradic
#70407D #7D5240 #4D7D40 #406C7D
square
#70407D #7D5240 #4D7D40 #406C7D
split-complementary
#70407D #6C7D40 #407D52
monochromatic
#27172C #4C2B55 #70407D #9455A5 #AE7CBC

Accessibility & contrast

On white

7.73
#70407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#70407D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70407D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70407D#FFFFFF#000000##FFFFFF
##70407D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#43547B
Tritanopia (blue-blind)
#704858
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #70407d;
/* rgb */ color: rgb(112, 64, 125);
/* oklch */ color: oklch(45.4% 0.110 318.8);
Tailwind
colors: {
  custom: {
    50: '#9a76a3',
    500: '#70407d',
    950: '#000000',
  },
}
SCSS
$custom: #70407d;
$custom-light: #9a76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#70407d",
  "rgb": {
    "r": 112,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 287.213,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45434,
    "c": 0.11009,
    "h": 318.8
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#70407D
secondary
#7EA673
accent
#C85F76
background
#F9F7FA
surface
#F2EDF3
border
#CCC8CD
text
#0E080F
muted
#7E7B7F

Preview Lab

Preview with #70407D

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

Preview Lab → · Contrast checker → · Palette generator →

#70407D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva