#70338C#70338C

#70338C is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.149 H 313.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#70338C
RGBrgb(112, 51, 140)
HSLhsl(281, 47%, 37%)
HSVhsv(281, 64%, 55%)
CMYKcmyk(20%, 63.6%, 0%, 45.1%)
CIE-LABlab(33.36, 42.16, -38.38)
CIE-LCHlch(33.36, 57.01, 317.69°)
OKLaboklab(44.37% 0.1026 -0.1078)
OKLCHoklch(44.37% 0.149 313.6)
XYZxyz(12.5987, 7.7062, 25.6296)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70338C #4F8C33
analogous
#44338C #70338C #8C337B
triadic
#70338C #8C7033 #338C70
tetradic
#70338C #8C4433 #4F8C33 #337B8C
square
#70338C #8C4433 #4F8C33 #337B8C
split-complementary
#70338C #7B8C33 #338C44
monochromatic
#281232 #4C235F #70338C #9443B9 #AE6FCB

Accessibility & contrast

On white

8.26
#70338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#70338C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70338C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70338C#FFFFFF#000000##FFFFFF
##70338C1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114B8F
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#6D435A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #70338c;
/* rgb */ color: rgb(112, 51, 140);
/* oklch */ color: oklch(44.4% 0.149 313.6);
Tailwind
colors: {
  custom: {
    50: '#9c6fae',
    500: '#70338c',
    950: '#000000',
  },
}
SCSS
$custom: #70338c;
$custom-light: #9c6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#70338c",
  "rgb": {
    "r": 112,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 281.124,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44369,
    "c": 0.14883,
    "h": 313.6
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#70338C
secondary
#80B268
accent
#D6527B
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #70338C

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

Preview Lab → · Contrast checker → · Palette generator →

#70338C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva