#70349B#70349B

#70349B is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.164 H 307.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#70349B
RGBrgb(112, 52, 155)
HSLhsl(275, 50%, 41%)
HSVhsv(275, 66%, 61%)
CMYKcmyk(27.7%, 66.5%, 0%, 39.2%)
CIE-LABlab(34.53, 45.14, -45.67)
CIE-LCHlch(34.53, 64.21, 314.67°)
OKLaboklab(45.53% 0.1007 -0.1292)
OKLCHoklch(45.53% 0.164 307.9)
XYZxyz(13.8253, 8.2675, 31.8715)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70349B #5F9B34
analogous
#3C349B #70349B #9B3492
triadic
#70349B #9B7034 #349B70
tetradic
#70349B #9B3C34 #5F9B34 #34929B
square
#70349B #9B3C34 #5F9B34 #34929B
split-complementary
#70349B #929B34 #349B3C
monochromatic
#2E153F #4F256D #70349B #904AC2 #AC78D2

Accessibility & contrast

On white

7.91
#70349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#70349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70349B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70349B#FFFFFF#000000##FFFFFF
##70349B1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#205299
Tritanopia (blue-blind)
#694A63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #70349b;
/* rgb */ color: rgb(112, 52, 155);
/* oklch */ color: oklch(45.5% 0.164 307.9);
Tailwind
colors: {
  custom: {
    50: '#9d70b9',
    500: '#70349b',
    950: '#000000',
  },
}
SCSS
$custom: #70349b;
$custom-light: #9d70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#70349b",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 274.951,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45531,
    "c": 0.16379,
    "h": 307.9
  },
  "luminance": 0.08267
}

Semantic roles & 50–950 ramp

primary
#70349B
secondary
#8FBA71
accent
#D94F88
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0811
muted
#7E7B80

Preview Lab

Preview with #70349B

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

Preview Lab → · Contrast checker → · Palette generator →

#70349B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva