#70236B#70236B

#70236B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.140 H 330.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#70236B
RGBrgb(112, 35, 107)
HSLhsl(304, 52%, 29%)
HSVhsv(304, 69%, 44%)
CMYKcmyk(0%, 68.8%, 4.5%, 56.1%)
CIE-LABlab(28.67, 43.02, -25.09)
CIE-LCHlch(28.67, 49.80, 329.75°)
OKLaboklab(40.34% 0.1221 -0.069)
OKLCHoklch(40.34% 0.14 330.5)
XYZxyz(9.9369, 5.7091, 14.4857)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70236B #237028
analogous
#4F2370 #70236B #702345
triadic
#70236B #6B7023 #236B70
tetradic
#70236B #704F23 #237028 #234570
square
#70236B #704F23 #237028 #234570
split-complementary
#70236B #457023 #23704F
monochromatic
#170716 #41143E #70236B #9F3298 #C648BE

Accessibility & contrast

On white

9.81
#70236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#70236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70236B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70236B#FFFFFF#000000##FFFFFF
##70236B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3D6D
Deuteranopia (green-blind)
#394769
Tritanopia (blue-blind)
#742B44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #70236b;
/* rgb */ color: rgb(112, 35, 107);
/* oklch */ color: oklch(40.3% 0.140 330.5);
Tailwind
colors: {
  custom: {
    50: '#9c6595',
    500: '#70236b',
    950: '#000000',
  },
}
SCSS
$custom: #70236b;
$custom-light: #9c6595;
$custom-dark: #000000;
JSON
{
  "hex": "#70236b",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 303.896,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.14027,
    "h": 330.5
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#70236B
secondary
#4CA351
accent
#DC554C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #70236B

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

Preview Lab → · Contrast checker → · Palette generator →

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