#70479F#70479F

#70479F is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.6% C 0.140 H 303.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#70479F
RGBrgb(112, 71, 159)
HSLhsl(268, 38%, 45%)
HSVhsv(268, 55%, 62%)
CMYKcmyk(29.6%, 55.3%, 0%, 37.6%)
CIE-LABlab(38.65, 35.81, -41.48)
CIE-LCHlch(38.65, 54.80, 310.80°)
OKLaboklab(48.61% 0.0762 -0.117)
OKLCHoklch(48.61% 0.14 303.1)
XYZxyz(15.1919, 10.4544, 34.0117)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70479F #769F47
analogous
#474A9F #70479F #9C479F
triadic
#70479F #9F7047 #479F70
tetradic
#70479F #9F474A #769F47 #479F9C
square
#70479F #9F474A #769F47 #479F9C
split-complementary
#70479F #9F9C47 #4A9F47
monochromatic
#34214A #523475 #70479F #8F68BB #AE92CE

Accessibility & contrast

On white

6.79
#70479F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#70479F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #70479F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70479F#FFFFFF#000000##FFFFFF
##70479F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA2
Deuteranopia (green-blind)
#345B9D
Tritanopia (blue-blind)
#67586C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #70479f;
/* rgb */ color: rgb(112, 71, 159);
/* oklch */ color: oklch(48.6% 0.140 303.1);
Tailwind
colors: {
  custom: {
    50: '#9c7cbc',
    500: '#70479f',
    950: '#000000',
  },
}
SCSS
$custom: #70479f;
$custom-light: #9c7cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#70479f",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 267.955,
    "s": 38.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48611,
    "c": 0.13961,
    "h": 303.1
  },
  "luminance": 0.10454
}

Semantic roles & 50–950 ramp

primary
#70479F
secondary
#A3BA88
accent
#CE5A98
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #70479F

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

Preview Lab → · Contrast checker → · Palette generator →

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