#70248E#70248E

#70248E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.171 H 314.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#70248E
RGBrgb(112, 36, 142)
HSLhsl(283, 60%, 35%)
HSVhsv(283, 75%, 56%)
CMYKcmyk(21.1%, 74.6%, 0%, 44.3%)
CIE-LABlab(31.02, 49.51, -43.37)
CIE-LCHlch(31.02, 65.82, 318.78°)
OKLaboklab(42.73% 0.1199 -0.1223)
OKLCHoklch(42.73% 0.171 314.4)
XYZxyz(12.1946, 6.6599, 26.2291)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70248E #428E24
analogous
#3B248E #70248E #8E2477
triadic
#70248E #8E7024 #248E70
tetradic
#70248E #8E3B24 #428E24 #24778E
square
#70248E #8E3B24 #428E24 #24778E
split-complementary
#70248E #778E24 #248E3B
monochromatic
#230B2C #49185D #70248E #9730BF #B158D5

Accessibility & contrast

On white

9.01
#70248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70248E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70248E#FFFFFF#000000##FFFFFF
##70248E1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#6D3B57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #70248e;
/* rgb */ color: rgb(112, 36, 142);
/* oklch */ color: oklch(42.7% 0.171 314.4);
Tailwind
colors: {
  custom: {
    50: '#9d67b0',
    500: '#70248e',
    950: '#000000',
  },
}
SCSS
$custom: #70248e;
$custom-light: #9d67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#70248e",
  "rgb": {
    "r": 112,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 283.019,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4273,
    "c": 0.17131,
    "h": 314.4
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#70248E
secondary
#71B955
accent
#E34572
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70248E

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

Preview Lab → · Contrast checker → · Palette generator →

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