#70339F#70339F

#70339F is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.170 H 306.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#70339F
RGBrgb(112, 51, 159)
HSLhsl(274, 51%, 41%)
HSVhsv(274, 68%, 62%)
CMYKcmyk(29.6%, 67.9%, 0%, 37.6%)
CIE-LABlab(34.63, 46.59, -47.93)
CIE-LCHlch(34.63, 66.84, 314.19°)
OKLaboklab(45.69% 0.1015 -0.1358)
OKLCHoklch(45.69% 0.17 306.8)
XYZxyz(14.1226, 8.3158, 33.6553)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70339F #629F33
analogous
#3A339F #70339F #9F3398
triadic
#70339F #9F7033 #339F70
tetradic
#70339F #9F3A33 #629F33 #33989F
square
#70339F #9F3A33 #629F33 #33989F
split-complementary
#70339F #989F33 #339F3A
monochromatic
#2F1542 #4F2471 #70339F #904AC5 #AC79D4

Accessibility & contrast

On white

7.89
#70339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#70339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70339F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70339F#FFFFFF#000000##FFFFFF
##70339F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#18529D
Tritanopia (blue-blind)
#684A65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #70339f;
/* rgb */ color: rgb(112, 51, 159);
/* oklch */ color: oklch(45.7% 0.170 306.8);
Tailwind
colors: {
  custom: {
    50: '#9d6fbc',
    500: '#70339f',
    950: '#000000',
  },
}
SCSS
$custom: #70339f;
$custom-light: #9d6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#70339f",
  "rgb": {
    "r": 112,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 273.889,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45689,
    "c": 0.16955,
    "h": 306.8
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#70339F
secondary
#92BC71
accent
#DB4D8B
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #70339F

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

Preview Lab → · Contrast checker → · Palette generator →

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