#70408D#70408D

#70408D is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.4% C 0.129 H 311.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#70408D
RGBrgb(112, 64, 141)
HSLhsl(277, 38%, 40%)
HSVhsv(277, 55%, 55%)
CMYKcmyk(20.6%, 54.6%, 0%, 44.7%)
CIE-LABlab(36.05, 35.37, -34.71)
CIE-LCHlch(36.05, 49.55, 315.54°)
OKLaboklab(46.36% 0.0849 -0.0971)
OKLCHoklch(46.36% 0.129 311.1)
XYZxyz(13.3223, 9.0349, 26.2362)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70408D #5D8D40
analogous
#4A408D #70408D #8D4083
triadic
#70408D #8D7040 #408D70
tetradic
#70408D #8D4A40 #5D8D40 #40838D
square
#70408D #8D4A40 #5D8D40 #40838D
split-complementary
#70408D #838D40 #408D4A
monochromatic
#2D1A39 #4F2D63 #70408D #9057B3 #AC81C6

Accessibility & contrast

On white

7.48
#70408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#70408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70408D
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70408D#FFFFFF#000000##FFFFFF
##70408D1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5290
Deuteranopia (green-blind)
#3A568B
Tritanopia (blue-blind)
#6D4D60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #70408d;
/* rgb */ color: rgb(112, 64, 141);
/* oklch */ color: oklch(46.4% 0.129 311.1);
Tailwind
colors: {
  custom: {
    50: '#9b77af',
    500: '#70408d',
    950: '#000000',
  },
}
SCSS
$custom: #70408d;
$custom-light: #9b77af;
$custom-dark: #000000;
JSON
{
  "hex": "#70408d",
  "rgb": {
    "r": 112,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 277.403,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46355,
    "c": 0.12899,
    "h": 311.1
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#70408D
secondary
#8DB078
accent
#CE5A86
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0910
muted
#7E7B7F

Preview Lab

Preview with #70408D

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

Preview Lab → · Contrast checker → · Palette generator →

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