#70237F#70237F

#70237F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.158 H 320.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#70237F
RGBrgb(112, 35, 127)
HSLhsl(290, 57%, 32%)
HSVhsv(290, 72%, 50%)
CMYKcmyk(11.8%, 72.4%, 0%, 50.2%)
CIE-LABlab(29.86, 46.82, -35.90)
CIE-LCHlch(29.86, 59.00, 322.52°)
OKLaboklab(41.58% 0.1224 -0.1004)
OKLCHoklch(41.58% 0.158 320.6)
XYZxyz(11.1134, 6.1797, 20.6820)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70237F #327F23
analogous
#42237F #70237F #7F2360
triadic
#70237F #7F7023 #237F70
tetradic
#70237F #7F4223 #327F23 #23607F
square
#70237F #7F4223 #327F23 #23607F
split-complementary
#70237F #607F23 #237F42
monochromatic
#1B091F #46164F #70237F #9A30AF #B94ECE

Accessibility & contrast

On white

9.39
#70237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#70237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70237F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70237F#FFFFFF#000000##FFFFFF
##70237F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70237f;
/* rgb */ color: rgb(112, 35, 127);
/* oklch */ color: oklch(41.6% 0.158 320.6);
Tailwind
colors: {
  custom: {
    50: '#9c65a5',
    500: '#70237f',
    950: '#000000',
  },
}
SCSS
$custom: #70237f;
$custom-light: #9c65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#70237f",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 290.217,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41581,
    "c": 0.15831,
    "h": 320.6
  },
  "luminance": 0.06179
}

Semantic roles & 50–950 ramp

primary
#70237F
secondary
#5DB14C
accent
#E04861
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70237F

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

Preview Lab → · Contrast checker → · Palette generator →

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