#70237A#70237A

#70237A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.154 H 322.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#70237A
RGBrgb(112, 35, 122)
HSLhsl(293, 55%, 31%)
HSVhsv(293, 71%, 48%)
CMYKcmyk(8.2%, 71.3%, 0%, 52.2%)
CIE-LABlab(29.54, 45.83, -33.25)
CIE-LCHlch(29.54, 56.62, 324.04°)
OKLaboklab(41.25% 0.1226 -0.0927)
OKLCHoklch(41.25% 0.154 322.9)
XYZxyz(10.7956, 6.0526, 19.0082)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70237A #2D7A23
analogous
#44237A #70237A #7A2358
triadic
#70237A #7A7023 #237A70
tetradic
#70237A #7A4423 #2D7A23 #23587A
square
#70237A #7A4423 #2D7A23 #23587A
split-complementary
#70237A #587A23 #237A44
monochromatic
#19081B #44154A #70237A #9C31AA #BD4CCC

Accessibility & contrast

On white

9.50
#70237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#70237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70237A
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70237A#FFFFFF#000000##FFFFFF
##70237A1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08407C
Deuteranopia (green-blind)
#304978
Tritanopia (blue-blind)
#72324C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #70237a;
/* rgb */ color: rgb(112, 35, 122);
/* oklch */ color: oklch(41.3% 0.154 322.9);
Tailwind
colors: {
  custom: {
    50: '#9c65a1',
    500: '#70237a',
    950: '#000000',
  },
}
SCSS
$custom: #70237a;
$custom-light: #9c65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#70237a",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 293.103,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41252,
    "c": 0.15367,
    "h": 322.9
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#70237A
secondary
#57AD4C
accent
#DF495A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060F
muted
#7E7A7E

Preview Lab

Preview with #70237A

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

Preview Lab → · Contrast checker → · Palette generator →

#70237A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva