#70237E#70237E

#70237E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.157 H 321.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#70237E
RGBrgb(112, 35, 126)
HSLhsl(291, 57%, 32%)
HSVhsv(291, 72%, 49%)
CMYKcmyk(11.1%, 72.2%, 0%, 50.6%)
CIE-LABlab(29.80, 46.62, -35.37)
CIE-LCHlch(29.80, 58.52, 322.81°)
OKLaboklab(41.51% 0.1224 -0.0989)
OKLCHoklch(41.51% 0.157 321.1)
XYZxyz(11.0486, 6.1537, 20.3404)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70237E #317E23
analogous
#43237E #70237E #7E235F
triadic
#70237E #7E7023 #237E70
tetradic
#70237E #7E4323 #317E23 #235F7E
square
#70237E #7E4323 #317E23 #235F7E
split-complementary
#70237E #5F7E23 #237E43
monochromatic
#1B081E #45164E #70237E #9B30AE #BA4ECE

Accessibility & contrast

On white

9.41
#70237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#70237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70237E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70237E#FFFFFF#000000##FFFFFF
##70237E1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#71344E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #70237e;
/* rgb */ color: rgb(112, 35, 126);
/* oklch */ color: oklch(41.5% 0.157 321.1);
Tailwind
colors: {
  custom: {
    50: '#9c65a4',
    500: '#70237e',
    950: '#000000',
  },
}
SCSS
$custom: #70237e;
$custom-light: #9c65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#70237e",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 290.769,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41514,
    "c": 0.15738,
    "h": 321.1
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#70237E
secondary
#5CB04C
accent
#E0485F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70237E

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

Preview Lab → · Contrast checker → · Palette generator →

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