#70237C#70237C

#70237C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.156 H 322.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#70237C
RGBrgb(112, 35, 124)
HSLhsl(292, 56%, 31%)
HSVhsv(292, 72%, 49%)
CMYKcmyk(9.7%, 71.8%, 0%, 51.4%)
CIE-LABlab(29.67, 46.22, -34.31)
CIE-LCHlch(29.67, 57.57, 323.41°)
OKLaboklab(41.38% 0.1225 -0.0958)
OKLCHoklch(41.38% 0.156 322)
XYZxyz(10.9208, 6.1026, 19.6676)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70237C #2F7C23
analogous
#43237C #70237C #7C235B
triadic
#70237C #7C7023 #237C70
tetradic
#70237C #7C4323 #2F7C23 #235B7C
square
#70237C #7C4323 #2F7C23 #235B7C
split-complementary
#70237C #5B7C23 #237C43
monochromatic
#1A081D #45164C #70237C #9B30AC #BB4DCD

Accessibility & contrast

On white

9.46
#70237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70237C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70237C#FFFFFF#000000##FFFFFF
##70237C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407F
Deuteranopia (green-blind)
#2F497A
Tritanopia (blue-blind)
#71334D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #70237c;
/* rgb */ color: rgb(112, 35, 124);
/* oklch */ color: oklch(41.4% 0.156 322.0);
Tailwind
colors: {
  custom: {
    50: '#9c65a2',
    500: '#70237c',
    950: '#000000',
  },
}
SCSS
$custom: #70237c;
$custom-light: #9c65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#70237c",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 291.91,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41382,
    "c": 0.15552,
    "h": 322
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#70237C
secondary
#5AAF4C
accent
#DF495D
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70237C

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

Preview Lab → · Contrast checker → · Palette generator →

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