#70348F#70348F

#70348F is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.151 H 312.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#70348F
RGBrgb(112, 52, 143)
HSLhsl(280, 47%, 38%)
HSVhsv(280, 64%, 56%)
CMYKcmyk(21.7%, 63.6%, 0%, 43.9%)
CIE-LABlab(33.74, 42.34, -39.62)
CIE-LCHlch(33.74, 57.98, 316.90°)
OKLaboklab(44.7% 0.1013 -0.1114)
OKLCHoklch(44.7% 0.151 312.3)
XYZxyz(12.8671, 7.8842, 26.8253)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70348F #538F34
analogous
#42348F #70348F #8F3480
triadic
#70348F #8F7034 #348F70
tetradic
#70348F #8F4234 #538F34 #34808F
square
#70348F #8F4234 #538F34 #34808F
split-complementary
#70348F #808F34 #348F42
monochromatic
#2A1335 #4D2462 #70348F #9345BB #AD72CC

Accessibility & contrast

On white

8.15
#70348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#70348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70348F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70348F#FFFFFF#000000##FFFFFF
##70348F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4C92
Deuteranopia (green-blind)
#2D518D
Tritanopia (blue-blind)
#6D455C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #70348f;
/* rgb */ color: rgb(112, 52, 143);
/* oklch */ color: oklch(44.7% 0.151 312.3);
Tailwind
colors: {
  custom: {
    50: '#9c6fb0',
    500: '#70348f',
    950: '#000000',
  },
}
SCSS
$custom: #70348f;
$custom-light: #9c6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#70348f",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 279.56,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44704,
    "c": 0.15059,
    "h": 312.3
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#70348F
secondary
#84B46B
accent
#D6517F
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #70348F

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

Preview Lab → · Contrast checker → · Palette generator →

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