#70298D#70298D

#70298D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.164 H 314.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#70298D
RGBrgb(112, 41, 141)
HSLhsl(283, 55%, 36%)
HSVhsv(283, 71%, 55%)
CMYKcmyk(20.6%, 70.9%, 0%, 44.7%)
CIE-LABlab(31.70, 47.17, -41.66)
CIE-LCHlch(31.70, 62.93, 318.55°)
OKLaboklab(43.19% 0.1147 -0.1173)
OKLCHoklch(43.19% 0.164 314.3)
XYZxyz(12.2819, 6.9541, 25.8894)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70298D #468D29
analogous
#3E298D #70298D #8D2978
triadic
#70298D #8D7029 #298D70
tetradic
#70298D #8D3E29 #468D29 #29788D
square
#70298D #8D3E29 #468D29 #29788D
split-complementary
#70298D #788D29 #298D3E
monochromatic
#250D2E #4A1B5E #70298D #9637BC #B060D1

Accessibility & contrast

On white

8.78
#70298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#70298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70298D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70298D#FFFFFF#000000##FFFFFF
##70298D1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#244C8B
Tritanopia (blue-blind)
#6D3D58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #70298d;
/* rgb */ color: rgb(112, 41, 141);
/* oklch */ color: oklch(43.2% 0.164 314.3);
Tailwind
colors: {
  custom: {
    50: '#9c69af',
    500: '#70298d',
    950: '#000000',
  },
}
SCSS
$custom: #70298d;
$custom-light: #9c69af;
$custom-dark: #000000;
JSON
{
  "hex": "#70298d",
  "rgb": {
    "r": 112,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 282.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.16407,
    "h": 314.3
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#70298D
secondary
#76B65B
accent
#DE4A75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #70298D

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

Preview Lab → · Contrast checker → · Palette generator →

#70298D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva