#70267D#70267D

#70267D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.152 H 321.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#70267D
RGBrgb(112, 38, 125)
HSLhsl(291, 53%, 32%)
HSVhsv(291, 70%, 49%)
CMYKcmyk(10.4%, 69.6%, 0%, 51%)
CIE-LABlab(30.19, 45.14, -34.12)
CIE-LCHlch(30.19, 56.59, 322.92°)
OKLaboklab(41.77% 0.119 -0.0953)
OKLCHoklch(41.77% 0.152 321.3)
XYZxyz(11.0765, 6.3122, 20.0330)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70267D #337D26
analogous
#44267D #70267D #7D265F
triadic
#70267D #7D7026 #267D70
tetradic
#70267D #7D4426 #337D26 #265F7D
square
#70267D #7D4426 #337D26 #265F7D
split-complementary
#70267D #5F7D26 #267D44
monochromatic
#1C091F #46184E #70267D #9A34AC #B953CB

Accessibility & contrast

On white

9.28
#70267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#70267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70267D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70267D#FFFFFF#000000##FFFFFF
##70267D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4280
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#71354E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #70267d;
/* rgb */ color: rgb(112, 38, 125);
/* oklch */ color: oklch(41.8% 0.152 321.3);
Tailwind
colors: {
  custom: {
    50: '#9c67a3',
    500: '#70267d',
    950: '#000000',
  },
}
SCSS
$custom: #70267d;
$custom-light: #9c67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#70267d",
  "rgb": {
    "r": 112,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 291.034,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41773,
    "c": 0.15246,
    "h": 321.3
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#70267D
secondary
#5EAF50
accent
#DD4B61
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #70267D

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

Preview Lab → · Contrast checker → · Palette generator →

#70267D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva