#70268F#70268F

#70268F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.170 H 313.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#70268F
RGBrgb(112, 38, 143)
HSLhsl(282, 58%, 35%)
HSVhsv(282, 73%, 56%)
CMYKcmyk(21.7%, 73.4%, 0%, 43.9%)
CIE-LABlab(31.38, 48.90, -43.41)
CIE-LCHlch(31.38, 65.39, 318.40°)
OKLaboklab(43.01% 0.1177 -0.1225)
OKLCHoklch(43.01% 0.17 313.9)
XYZxyz(12.3323, 6.8145, 26.6470)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70268F #458F26
analogous
#3C268F #70268F #8F2679
triadic
#70268F #8F7026 #268F70
tetradic
#70268F #8F3C26 #458F26 #26798F
square
#70268F #8F3C26 #458F26 #26798F
split-complementary
#70268F #798F26 #268F3C
monochromatic
#240C2E #4A195F #70268F #9633BF #B05CD4

Accessibility & contrast

On white

8.89
#70268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#70268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70268F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70268F#FFFFFF#000000##FFFFFF
##70268F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#1F4C8D
Tritanopia (blue-blind)
#6D3C58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #70268f;
/* rgb */ color: rgb(112, 38, 143);
/* oklch */ color: oklch(43.0% 0.170 313.9);
Tailwind
colors: {
  custom: {
    50: '#9d68b0',
    500: '#70268f',
    950: '#000000',
  },
}
SCSS
$custom: #70268f;
$custom-light: #9d68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#70268f",
  "rgb": {
    "r": 112,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 282.286,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.16987,
    "h": 313.9
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#70268F
secondary
#75B958
accent
#E14774
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #70268F

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

Preview Lab → · Contrast checker → · Palette generator →

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