#70268B#70268B

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

Color values

HEX#70268B
RGBrgb(112, 38, 139)
HSLhsl(284, 57%, 35%)
HSVhsv(284, 73%, 55%)
CMYKcmyk(19.4%, 72.7%, 0%, 45.5%)
CIE-LABlab(31.10, 48.04, -41.39)
CIE-LCHlch(31.10, 63.41, 319.26°)
OKLaboklab(42.72% 0.1182 -0.1165)
OKLCHoklch(42.72% 0.166 315.4)
XYZxyz(12.0347, 6.6955, 25.0795)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70268B #418B26
analogous
#3D268B #70268B #8B2674
triadic
#70268B #8B7026 #268B70
tetradic
#70268B #8B3D26 #418B26 #26748B
square
#70268B #8B3D26 #418B26 #26748B
split-complementary
#70268B #748B26 #268B3D
monochromatic
#230C2B #49195B #70268B #9733BB #B25AD2

Accessibility & contrast

On white

8.98
#70268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#70268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70268B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70268B#FFFFFF#000000##FFFFFF
##70268B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#244B89
Tritanopia (blue-blind)
#6E3B56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #70268b;
/* rgb */ color: rgb(112, 38, 139);
/* oklch */ color: oklch(42.7% 0.166 315.4);
Tailwind
colors: {
  custom: {
    50: '#9c67ad',
    500: '#70268b',
    950: '#000000',
  },
}
SCSS
$custom: #70268b;
$custom-light: #9c67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#70268b",
  "rgb": {
    "r": 112,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 283.96,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42723,
    "c": 0.16595,
    "h": 315.4
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#70268B
secondary
#70B756
accent
#E04770
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #70268B

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

Preview Lab → · Contrast checker → · Palette generator →

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