#70267F#70267F

#70267F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.154 H 320.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#70267F
RGBrgb(112, 38, 127)
HSLhsl(290, 54%, 32%)
HSVhsv(290, 70%, 50%)
CMYKcmyk(11.8%, 70.1%, 0%, 50.2%)
CIE-LABlab(30.31, 45.55, -35.18)
CIE-LCHlch(30.31, 57.55, 322.32°)
OKLaboklab(41.9% 0.119 -0.0983)
OKLCHoklch(41.9% 0.154 320.4)
XYZxyz(11.2055, 6.3638, 20.7127)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70267F #357F26
analogous
#44267F #70267F #7F2661
triadic
#70267F #7F7026 #267F70
tetradic
#70267F #7F4426 #357F26 #26617F
square
#70267F #7F4426 #357F26 #26617F
split-complementary
#70267F #617F26 #267F44
monochromatic
#1D0A21 #461850 #70267F #9A34AE #B754CC

Accessibility & contrast

On white

9.24
#70267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#70267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70267F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70267F#FFFFFF#000000##FFFFFF
##70267F1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054282
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#71364F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #70267f;
/* rgb */ color: rgb(112, 38, 127);
/* oklch */ color: oklch(41.9% 0.154 320.4);
Tailwind
colors: {
  custom: {
    50: '#9c67a4',
    500: '#70267f',
    950: '#000000',
  },
}
SCSS
$custom: #70267f;
$custom-light: #9c67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#70267f",
  "rgb": {
    "r": 112,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 289.888,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.15436,
    "h": 320.4
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#70267F
secondary
#61B051
accent
#DD4A63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70267F

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

Preview Lab → · Contrast checker → · Palette generator →

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