#70237B#70237B

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

Color values

HEX#70237B
RGBrgb(112, 35, 123)
HSLhsl(293, 56%, 31%)
HSVhsv(293, 72%, 48%)
CMYKcmyk(8.9%, 71.5%, 0%, 51.8%)
CIE-LABlab(29.61, 46.03, -33.78)
CIE-LCHlch(29.61, 57.09, 323.72°)
OKLaboklab(41.32% 0.1225 -0.0943)
OKLCHoklch(41.32% 0.155 322.4)
XYZxyz(10.8579, 6.0775, 19.3362)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70237B #2E7B23
analogous
#44237B #70237B #7B235A
triadic
#70237B #7B7023 #237B70
tetradic
#70237B #7B4423 #2E7B23 #235A7B
square
#70237B #7B4423 #2E7B23 #235A7B
split-complementary
#70237B #5A7B23 #237B44
monochromatic
#19081C #45154B #70237B #9B31AB #BC4CCC

Accessibility & contrast

On white

9.48
#70237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#70237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70237B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70237B#FFFFFF#000000##FFFFFF
##70237B1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06407E
Deuteranopia (green-blind)
#2F4979
Tritanopia (blue-blind)
#72324C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #70237b;
/* rgb */ color: rgb(112, 35, 123);
/* oklch */ color: oklch(41.3% 0.155 322.4);
Tailwind
colors: {
  custom: {
    50: '#9c65a2',
    500: '#70237b',
    950: '#000000',
  },
}
SCSS
$custom: #70237b;
$custom-light: #9c65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#70237b",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 292.5,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41317,
    "c": 0.1546,
    "h": 322.4
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#70237B
secondary
#58AE4C
accent
#DF495C
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70237B

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

Preview Lab → · Contrast checker → · Palette generator →

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