#70339A#70339A

#70339A is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.164 H 308.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#70339A
RGBrgb(112, 51, 154)
HSLhsl(276, 50%, 40%)
HSVhsv(276, 67%, 60%)
CMYKcmyk(27.3%, 66.9%, 0%, 39.6%)
CIE-LABlab(34.28, 45.40, -45.46)
CIE-LCHlch(34.28, 64.25, 314.96°)
OKLaboklab(45.33% 0.102 -0.1286)
OKLCHoklch(45.33% 0.164 308.4)
XYZxyz(13.6975, 8.1457, 31.4163)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70339A #5D9A33
analogous
#3C339A #70339A #9A3390
triadic
#70339A #9A7033 #339A70
tetradic
#70339A #9A3C33 #5D9A33 #33909A
square
#70339A #9A3C33 #5D9A33 #33909A
split-complementary
#70339A #909A33 #339A3C
monochromatic
#2D153E #4F246C #70339A #9048C2 #AC76D2

Accessibility & contrast

On white

7.99
#70339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#70339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70339A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70339A#FFFFFF#000000##FFFFFF
##70339A1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#205198
Tritanopia (blue-blind)
#6A4962
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #70339a;
/* rgb */ color: rgb(112, 51, 154);
/* oklch */ color: oklch(45.3% 0.164 308.4);
Tailwind
colors: {
  custom: {
    50: '#9d6fb8',
    500: '#70339a',
    950: '#000000',
  },
}
SCSS
$custom: #70339a;
$custom-light: #9d6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#70339a",
  "rgb": {
    "r": 112,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 275.534,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.16409,
    "h": 308.4
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#70339A
secondary
#8DBA6F
accent
#DA4E87
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0811
muted
#7E7B80

Preview Lab

Preview with #70339A

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

Preview Lab → · Contrast checker → · Palette generator →

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