#70236E#70236E

#70236E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.5% C 0.143 H 328.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#70236E
RGBrgb(112, 35, 110)
HSLhsl(302, 52%, 29%)
HSVhsv(302, 69%, 44%)
CMYKcmyk(0%, 68.8%, 1.8%, 56.1%)
CIE-LABlab(28.83, 43.56, -26.75)
CIE-LCHlch(28.83, 51.12, 328.45°)
OKLaboklab(40.51% 0.1223 -0.0738)
OKLCHoklch(40.51% 0.143 328.9)
XYZxyz(10.0975, 5.7733, 15.3314)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70236E #237025
analogous
#4C2370 #70236E #702348
triadic
#70236E #6E7023 #236E70
tetradic
#70236E #704C23 #237025 #234870
square
#70236E #704C23 #237025 #234870
split-complementary
#70236E #487023 #23704C
monochromatic
#170717 #411440 #70236E #9F329C #C648C2

Accessibility & contrast

On white

9.75
#70236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#70236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70236E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70236E#FFFFFF#000000##FFFFFF
##70236E1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D70
Deuteranopia (green-blind)
#37486C
Tritanopia (blue-blind)
#742D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #70236e;
/* rgb */ color: rgb(112, 35, 110);
/* oklch */ color: oklch(40.5% 0.143 328.9);
Tailwind
colors: {
  custom: {
    50: '#9c6598',
    500: '#70236e',
    950: '#000000',
  },
}
SCSS
$custom: #70236e;
$custom-light: #9c6598;
$custom-dark: #000000;
JSON
{
  "hex": "#70236e",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 301.558,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4051,
    "c": 0.14287,
    "h": 328.9
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#70236E
secondary
#4CA34E
accent
#DC504C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #70236E

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

Preview Lab → · Contrast checker → · Palette generator →

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