#70337E#70337E

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

Color values

HEX#70337E
RGBrgb(112, 51, 126)
HSLhsl(289, 42%, 35%)
HSVhsv(289, 60%, 49%)
CMYKcmyk(11.1%, 59.5%, 0%, 50.6%)
CIE-LABlab(32.52, 39.09, -31.03)
CIE-LCHlch(32.52, 49.91, 321.55°)
OKLaboklab(43.49% 0.1022 -0.0864)
OKLCHoklch(43.49% 0.134 319.8)
XYZxyz(11.6313, 7.3193, 20.5347)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70337E #417E33
analogous
#4B337E #70337E #7E3367
triadic
#70337E #7E7033 #337E70
tetradic
#70337E #7E4B33 #417E33 #33677E
square
#70337E #7E4B33 #417E33 #33677E
split-complementary
#70337E #677E33 #337E4B
monochromatic
#231027 #492152 #70337E #9745AA #B269C2

Accessibility & contrast

On white

8.52
#70337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#70337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70337E
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70337E#FFFFFF#000000##FFFFFF
##70337E1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#394F7C
Tritanopia (blue-blind)
#713E53
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #70337e;
/* rgb */ color: rgb(112, 51, 126);
/* oklch */ color: oklch(43.5% 0.134 319.8);
Tailwind
colors: {
  custom: {
    50: '#9b6ea4',
    500: '#70337e',
    950: '#000000',
  },
}
SCSS
$custom: #70337e;
$custom-light: #9b6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#70337e",
  "rgb": {
    "r": 112,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 288.8,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43486,
    "c": 0.13382,
    "h": 319.8
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#70337E
secondary
#70AA63
accent
#D2566D
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #70337E

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

Preview Lab → · Contrast checker → · Palette generator →

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