#70339B#70339B

#70339B is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.165 H 308.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#70339B
RGBrgb(112, 51, 155)
HSLhsl(275, 50%, 40%)
HSVhsv(275, 67%, 61%)
CMYKcmyk(27.7%, 67.1%, 0%, 39.2%)
CIE-LABlab(34.35, 45.63, -45.96)
CIE-LCHlch(34.35, 64.77, 314.80°)
OKLaboklab(45.4% 0.1019 -0.13)
OKLCHoklch(45.4% 0.165 308.1)
XYZxyz(13.7811, 8.1792, 31.8567)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70339B #5E9B33
analogous
#3C339B #70339B #9B3392
triadic
#70339B #9B7033 #339B70
tetradic
#70339B #9B3C33 #5E9B33 #33929B
square
#70339B #9B3C33 #5E9B33 #33929B
split-complementary
#70339B #929B33 #339B3C
monochromatic
#2D153F #4F246D #70339B #9048C3 #AC76D2

Accessibility & contrast

On white

7.97
#70339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#70339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70339B
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70339B#FFFFFF#000000##FFFFFF
##70339B1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#1E5199
Tritanopia (blue-blind)
#694962
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #70339b;
/* rgb */ color: rgb(112, 51, 155);
/* oklch */ color: oklch(45.4% 0.165 308.1);
Tailwind
colors: {
  custom: {
    50: '#9d6fb9',
    500: '#70339b',
    950: '#000000',
  },
}
SCSS
$custom: #70339b;
$custom-light: #9d6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#70339b",
  "rgb": {
    "r": 112,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 275.192,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45401,
    "c": 0.16519,
    "h": 308.1
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#70339B
secondary
#8EBA6F
accent
#DA4E88
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0811
muted
#7E7B80

Preview Lab

Preview with #70339B

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

Preview Lab → · Contrast checker → · Palette generator →

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