#70248B#70248B

#70248B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.168 H 315.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#70248B
RGBrgb(112, 36, 139)
HSLhsl(284, 59%, 34%)
HSVhsv(284, 74%, 55%)
CMYKcmyk(19.4%, 74.1%, 0%, 45.5%)
CIE-LABlab(30.81, 48.87, -41.86)
CIE-LCHlch(30.81, 64.35, 319.42°)
OKLaboklab(42.51% 0.1203 -0.1179)
OKLCHoklch(42.51% 0.168 315.6)
XYZxyz(11.9724, 6.5710, 25.0588)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70248B #3F8B24
analogous
#3D248B #70248B #8B2473
triadic
#70248B #8B7024 #248B70
tetradic
#70248B #8B3D24 #3F8B24 #24738B
square
#70248B #8B3D24 #3F8B24 #24738B
split-complementary
#70248B #738B24 #248B3D
monochromatic
#220B2A #49175A #70248B #9731BC #B256D3

Accessibility & contrast

On white

9.07
#70248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#70248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70248B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70248B#FFFFFF#000000##FFFFFF
##70248B1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#224B89
Tritanopia (blue-blind)
#6E3A55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #70248b;
/* rgb */ color: rgb(112, 36, 139);
/* oklch */ color: oklch(42.5% 0.168 315.6);
Tailwind
colors: {
  custom: {
    50: '#9d66ad',
    500: '#70248b',
    950: '#000000',
  },
}
SCSS
$custom: #70248b;
$custom-light: #9d66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#70248b",
  "rgb": {
    "r": 112,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 284.272,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42514,
    "c": 0.16842,
    "h": 315.6
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#70248B
secondary
#6EB753
accent
#E2466F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #70248B

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

Preview Lab → · Contrast checker → · Palette generator →

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