#70478D#70478D

#70478D is a mid, moderate violet. Relative luminance 0.099; OKLCH L 47.5% C 0.117 H 309.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#70478D
RGBrgb(112, 71, 141)
HSLhsl(275, 33%, 42%)
HSVhsv(275, 50%, 55%)
CMYKcmyk(20.6%, 49.6%, 0%, 44.7%)
CIE-LABlab(37.62, 31.32, -32.23)
CIE-LCHlch(37.62, 44.95, 314.18°)
OKLaboklab(47.51% 0.0746 -0.09)
OKLCHoklch(47.51% 0.117 309.7)
XYZxyz(13.7421, 9.8745, 26.3762)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70478D #648D47
analogous
#4D478D #70478D #8D4787
triadic
#70478D #8D7047 #478D70
tetradic
#70478D #8D4D47 #648D47 #47878D
square
#70478D #8D4D47 #648D47 #47878D
split-complementary
#70478D #878D47 #478D4D
monochromatic
#2F1E3C #503364 #70478D #8F62B0 #AC8AC4

Accessibility & contrast

On white

7.06
#70478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#70478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70478D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70478D#FFFFFF#000000##FFFFFF
##70478D1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36578F
Deuteranopia (green-blind)
#41598B
Tritanopia (blue-blind)
#6C5263
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #70478d;
/* rgb */ color: rgb(112, 71, 141);
/* oklch */ color: oklch(47.5% 0.117 309.7);
Tailwind
colors: {
  custom: {
    50: '#9b7bae',
    500: '#70478d',
    950: '#000000',
  },
}
SCSS
$custom: #70478d;
$custom-light: #9b7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#70478d",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 275.143,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47514,
    "c": 0.11687,
    "h": 309.7
  },
  "luminance": 0.09874
}

Semantic roles & 50–950 ramp

primary
#70478D
secondary
#94B080
accent
#C95F8B
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0910
muted
#7E7B7F

Preview Lab

Preview with #70478D

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

Preview Lab → · Contrast checker → · Palette generator →

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