#70399D#70399D

#70399D is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.3% C 0.159 H 306.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#70399D
RGBrgb(112, 57, 157)
HSLhsl(273, 47%, 42%)
HSVhsv(273, 64%, 62%)
CMYKcmyk(28.7%, 63.7%, 0%, 38.4%)
CIE-LABlab(35.61, 43.05, -45.15)
CIE-LCHlch(35.61, 62.38, 313.64°)
OKLaboklab(46.35% 0.0945 -0.1277)
OKLCHoklch(46.35% 0.159 306.5)
XYZxyz(14.2297, 8.8055, 32.8417)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70399D #669D39
analogous
#3E399D #70399D #9D3998
triadic
#70399D #9D7039 #399D70
tetradic
#70399D #9D3E39 #669D39 #39989D
square
#70399D #9D3E39 #669D39 #39989D
split-complementary
#70399D #989D39 #399D3E
monochromatic
#301843 #502970 #70399D #8F53C0 #AC80D1

Accessibility & contrast

On white

7.61
#70399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#70399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70399D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70399D#FFFFFF#000000##FFFFFF
##70399D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#24549B
Tritanopia (blue-blind)
#694D66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #70399d;
/* rgb */ color: rgb(112, 57, 157);
/* oklch */ color: oklch(46.3% 0.159 306.5);
Tailwind
colors: {
  custom: {
    50: '#9c73ba',
    500: '#70399d',
    950: '#000000',
  },
}
SCSS
$custom: #70399d;
$custom-light: #9c73ba;
$custom-dark: #000000;
JSON
{
  "hex": "#70399d",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 273,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46349,
    "c": 0.15884,
    "h": 306.5
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

primary
#70399D
secondary
#96BA78
accent
#D6518D
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #70399D

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

Preview Lab → · Contrast checker → · Palette generator →

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