#70248D#70248D

#70248D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.170 H 314.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#70248D
RGBrgb(112, 36, 141)
HSLhsl(283, 59%, 35%)
HSVhsv(283, 74%, 55%)
CMYKcmyk(20.6%, 74.5%, 0%, 44.7%)
CIE-LABlab(30.95, 49.30, -42.87)
CIE-LCHlch(30.95, 65.33, 318.99°)
OKLaboklab(42.66% 0.12 -0.1209)
OKLCHoklch(42.66% 0.17 314.8)
XYZxyz(12.1199, 6.6300, 25.8354)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70248D #418D24
analogous
#3C248D #70248D #8D2475
triadic
#70248D #8D7024 #248D70
tetradic
#70248D #8D3C24 #418D24 #24758D
square
#70248D #8D3C24 #418D24 #24758D
split-complementary
#70248D #758D24 #248D3C
monochromatic
#230B2B #49185C #70248D #9730BE #B257D4

Accessibility & contrast

On white

9.03
#70248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#70248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70248D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70248D#FFFFFF#000000##FFFFFF
##70248D1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#1F4B8B
Tritanopia (blue-blind)
#6E3B56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #70248d;
/* rgb */ color: rgb(112, 36, 141);
/* oklch */ color: oklch(42.7% 0.170 314.8);
Tailwind
colors: {
  custom: {
    50: '#9d67af',
    500: '#70248d',
    950: '#000000',
  },
}
SCSS
$custom: #70248d;
$custom-light: #9d67af;
$custom-dark: #000000;
JSON
{
  "hex": "#70248d",
  "rgb": {
    "r": 112,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 283.429,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42658,
    "c": 0.17034,
    "h": 314.8
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#70248D
secondary
#70B854
accent
#E34571
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70248D

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

Preview Lab → · Contrast checker → · Palette generator →

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