#70338E#70338E

#70338E is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.5% C 0.151 H 312.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#70338E
RGBrgb(112, 51, 142)
HSLhsl(280, 47%, 38%)
HSVhsv(280, 64%, 56%)
CMYKcmyk(21.1%, 64.1%, 0%, 44.3%)
CIE-LABlab(33.49, 42.62, -39.41)
CIE-LCHlch(33.49, 58.04, 317.24°)
OKLaboklab(44.5% 0.1026 -0.1108)
OKLCHoklch(44.5% 0.151 312.8)
XYZxyz(12.7475, 7.7657, 26.4134)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70338E #518E33
analogous
#43338E #70338E #8E337E
triadic
#70338E #8E7033 #338E70
tetradic
#70338E #8E4333 #518E33 #337E8E
square
#70338E #8E4333 #518E33 #337E8E
split-complementary
#70338E #7E8E33 #338E43
monochromatic
#291334 #4C2361 #70338E #9443BB #AD70CC

Accessibility & contrast

On white

8.23
#70338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#70338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70338E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70338E#FFFFFF#000000##FFFFFF
##70338E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C91
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#6D445C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #70338e;
/* rgb */ color: rgb(112, 51, 142);
/* oklch */ color: oklch(44.5% 0.151 312.8);
Tailwind
colors: {
  custom: {
    50: '#9c6faf',
    500: '#70338e',
    950: '#000000',
  },
}
SCSS
$custom: #70338e;
$custom-light: #9c6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#70338e",
  "rgb": {
    "r": 112,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 280.22,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44502,
    "c": 0.15101,
    "h": 312.8
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#70338E
secondary
#82B469
accent
#D7517D
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #70338E

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

Preview Lab → · Contrast checker → · Palette generator →

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