#70247F#70247F

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

Color values

HEX#70247F
RGBrgb(112, 36, 127)
HSLhsl(290, 56%, 32%)
HSVhsv(290, 72%, 50%)
CMYKcmyk(11.8%, 71.7%, 0%, 50.2%)
CIE-LABlab(30.01, 46.40, -35.66)
CIE-LCHlch(30.01, 58.52, 322.46°)
OKLaboklab(41.69% 0.1213 -0.0997)
OKLCHoklch(41.69% 0.157 320.6)
XYZxyz(11.1433, 6.2394, 20.6919)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70247F #337F24
analogous
#43247F #70247F #7F2461
triadic
#70247F #7F7024 #247F70
tetradic
#70247F #7F4324 #337F24 #24617F
square
#70247F #7F4324 #337F24 #24617F
split-complementary
#70247F #617F24 #247F43
monochromatic
#1C0920 #46164F #70247F #9A32AF #B950CD

Accessibility & contrast

On white

9.34
#70247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#70247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70247F
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70247F#FFFFFF#000000##FFFFFF
##70247F1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#71354F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #70247f;
/* rgb */ color: rgb(112, 36, 127);
/* oklch */ color: oklch(41.7% 0.157 320.6);
Tailwind
colors: {
  custom: {
    50: '#9c66a4',
    500: '#70247f',
    950: '#000000',
  },
}
SCSS
$custom: #70247f;
$custom-light: #9c66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#70247f",
  "rgb": {
    "r": 112,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 290.11,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41686,
    "c": 0.15702,
    "h": 320.6
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#70247F
secondary
#5EB14E
accent
#DF4961
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70247F

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

Preview Lab → · Contrast checker → · Palette generator →

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