#70248C#70248C

#70248C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.169 H 315.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#70248C
RGBrgb(112, 36, 140)
HSLhsl(284, 59%, 35%)
HSVhsv(284, 74%, 55%)
CMYKcmyk(20%, 74.3%, 0%, 45.1%)
CIE-LABlab(30.88, 49.09, -42.36)
CIE-LCHlch(30.88, 64.84, 319.20°)
OKLaboklab(42.59% 0.1202 -0.1194)
OKLCHoklch(42.59% 0.169 315.2)
XYZxyz(12.0458, 6.6004, 25.4453)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70248C #408C24
analogous
#3C248C #70248C #8C2474
triadic
#70248C #8C7024 #248C70
tetradic
#70248C #8C3C24 #408C24 #24748C
square
#70248C #8C3C24 #408C24 #24748C
split-complementary
#70248C #748C24 #248C3C
monochromatic
#220B2B #49175B #70248C #9731BD #B257D4

Accessibility & contrast

On white

9.05
#70248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#70248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70248C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70248C#FFFFFF#000000##FFFFFF
##70248C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#6E3A56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #70248c;
/* rgb */ color: rgb(112, 36, 140);
/* oklch */ color: oklch(42.6% 0.169 315.2);
Tailwind
colors: {
  custom: {
    50: '#9d67ae',
    500: '#70248c',
    950: '#000000',
  },
}
SCSS
$custom: #70248c;
$custom-light: #9d67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#70248c",
  "rgb": {
    "r": 112,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 283.846,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42585,
    "c": 0.16938,
    "h": 315.2
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#70248C
secondary
#6FB854
accent
#E24670
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70248C

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

Preview Lab → · Contrast checker → · Palette generator →

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