#70237D#70237D

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

Color values

HEX#70237D
RGBrgb(112, 35, 125)
HSLhsl(291, 56%, 31%)
HSVhsv(291, 72%, 49%)
CMYKcmyk(10.4%, 72%, 0%, 51%)
CIE-LABlab(29.73, 46.42, -34.84)
CIE-LCHlch(29.73, 58.04, 323.11°)
OKLaboklab(41.45% 0.1225 -0.0974)
OKLCHoklch(41.45% 0.156 321.5)
XYZxyz(10.9844, 6.1281, 20.0023)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70237D #307D23
analogous
#43237D #70237D #7D235D
triadic
#70237D #7D7023 #237D70
tetradic
#70237D #7D4323 #307D23 #235D7D
square
#70237D #7D4323 #307D23 #235D7D
split-complementary
#70237D #5D7D23 #237D43
monochromatic
#1A081D #45164D #70237D #9B30AD #BB4DCD

Accessibility & contrast

On white

9.44
#70237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70237D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70237D#FFFFFF#000000##FFFFFF
##70237D1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014180
Deuteranopia (green-blind)
#2E497B
Tritanopia (blue-blind)
#71334D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #70237d;
/* rgb */ color: rgb(112, 35, 125);
/* oklch */ color: oklch(41.4% 0.156 321.5);
Tailwind
colors: {
  custom: {
    50: '#9c65a3',
    500: '#70237d',
    950: '#000000',
  },
}
SCSS
$custom: #70237d;
$custom-light: #9c65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#70237d",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 291.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.15645,
    "h": 321.5
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#70237D
secondary
#5BAF4C
accent
#E0485E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70237D

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

Preview Lab → · Contrast checker → · Palette generator →

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