#70337F#70337F

#70337F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.5% C 0.135 H 319.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#70337F
RGBrgb(112, 51, 127)
HSLhsl(288, 43%, 35%)
HSVhsv(288, 60%, 50%)
CMYKcmyk(11.8%, 59.8%, 0%, 50.2%)
CIE-LABlab(32.58, 39.30, -31.57)
CIE-LCHlch(32.58, 50.41, 321.23°)
OKLaboklab(43.55% 0.1023 -0.0879)
OKLCHoklch(43.55% 0.135 319.3)
XYZxyz(11.6962, 7.3452, 20.8762)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70337F #427F33
analogous
#4A337F #70337F #7F3368
triadic
#70337F #7F7033 #337F70
tetradic
#70337F #7F4A33 #427F33 #33687F
square
#70337F #7F4A33 #427F33 #33687F
split-complementary
#70337F #687F33 #337F4A
monochromatic
#231028 #492153 #70337F #9745AB #B169C3

Accessibility & contrast

On white

8.51
#70337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#70337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70337F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70337F#FFFFFF#000000##FFFFFF
##70337F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224881
Deuteranopia (green-blind)
#384F7D
Tritanopia (blue-blind)
#703F54
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #70337f;
/* rgb */ color: rgb(112, 51, 127);
/* oklch */ color: oklch(43.5% 0.135 319.3);
Tailwind
colors: {
  custom: {
    50: '#9b6ea4',
    500: '#70337f',
    950: '#000000',
  },
}
SCSS
$custom: #70337f;
$custom-light: #9b6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#70337f",
  "rgb": {
    "r": 112,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 288.158,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43546,
    "c": 0.13488,
    "h": 319.3
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#70337F
secondary
#71AB63
accent
#D2556E
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #70337F

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

Preview Lab → · Contrast checker → · Palette generator →

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