#70236F#70236F

#70236F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.144 H 328.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#70236F
RGBrgb(112, 35, 111)
HSLhsl(301, 52%, 29%)
HSVhsv(301, 69%, 44%)
CMYKcmyk(0%, 68.8%, 0.9%, 56.1%)
CIE-LABlab(28.89, 43.74, -27.30)
CIE-LCHlch(28.89, 51.56, 328.03°)
OKLaboklab(40.57% 0.1224 -0.0754)
OKLCHoklch(40.57% 0.144 328.4)
XYZxyz(10.1522, 5.7952, 15.6197)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70236F #237024
analogous
#4B2370 #70236F #702349
triadic
#70236F #6F7023 #236F70
tetradic
#70236F #704B23 #237024 #234970
square
#70236F #704B23 #237024 #234970
split-complementary
#70236F #497023 #23704B
monochromatic
#170717 #411441 #70236F #9F329D #C648C4

Accessibility & contrast

On white

9.73
#70236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#70236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70236F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70236F#FFFFFF#000000##FFFFFF
##70236F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#37486D
Tritanopia (blue-blind)
#742D46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #70236f;
/* rgb */ color: rgb(112, 35, 111);
/* oklch */ color: oklch(40.6% 0.144 328.4);
Tailwind
colors: {
  custom: {
    50: '#9c6598',
    500: '#70236f',
    950: '#000000',
  },
}
SCSS
$custom: #70236f;
$custom-light: #9c6598;
$custom-dark: #000000;
JSON
{
  "hex": "#70236f",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 300.779,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40569,
    "c": 0.14376,
    "h": 328.4
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#70236F
secondary
#4CA34D
accent
#DC4E4C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #70236F

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

Preview Lab → · Contrast checker → · Palette generator →

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