#70268A#70268A

#70268A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.165 H 315.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#70268A
RGBrgb(112, 38, 138)
HSLhsl(284, 57%, 35%)
HSVhsv(284, 72%, 54%)
CMYKcmyk(18.8%, 72.5%, 0%, 45.9%)
CIE-LABlab(31.04, 47.83, -40.88)
CIE-LCHlch(31.04, 62.92, 319.48°)
OKLaboklab(42.65% 0.1183 -0.115)
OKLCHoklch(42.65% 0.165 315.8)
XYZxyz(11.9619, 6.6664, 24.6965)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70268A #408A26
analogous
#3E268A #70268A #8A2672
triadic
#70268A #8A7026 #268A70
tetradic
#70268A #8A3E26 #408A26 #26728A
square
#70268A #8A3E26 #408A26 #26728A
split-complementary
#70268A #728A26 #268A3E
monochromatic
#220C2A #49195A #70268A #9733BA #B259D1

Accessibility & contrast

On white

9.00
#70268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#70268A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70268A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70268A#FFFFFF#000000##FFFFFF
##70268A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#254B88
Tritanopia (blue-blind)
#6E3A55
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #70268a;
/* rgb */ color: rgb(112, 38, 138);
/* oklch */ color: oklch(42.7% 0.165 315.8);
Tailwind
colors: {
  custom: {
    50: '#9c67ad',
    500: '#70268a',
    950: '#000000',
  },
}
SCSS
$custom: #70268a;
$custom-light: #9c67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#70268a",
  "rgb": {
    "r": 112,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 284.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42652,
    "c": 0.16498,
    "h": 315.8
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#70268A
secondary
#6FB656
accent
#E0486F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #70268A

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

Preview Lab → · Contrast checker → · Palette generator →

#70268A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva