#70257F#70257F

#70257F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.156 H 320.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#70257F
RGBrgb(112, 37, 127)
HSLhsl(290, 55%, 32%)
HSVhsv(290, 71%, 50%)
CMYKcmyk(11.8%, 70.9%, 0%, 50.2%)
CIE-LABlab(30.16, 45.98, -35.42)
CIE-LCHlch(30.16, 58.04, 322.39°)
OKLaboklab(41.79% 0.1201 -0.099)
OKLCHoklch(41.79% 0.156 320.5)
XYZxyz(11.1740, 6.3007, 20.7021)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70257F #347F25
analogous
#43257F #70257F #7F2561
triadic
#70257F #7F7025 #257F70
tetradic
#70257F #7F4325 #347F25 #25617F
square
#70257F #7F4325 #347F25 #25617F
split-complementary
#70257F #617F25 #257F43
monochromatic
#1C0920 #461750 #70257F #9A33AE #B852CD

Accessibility & contrast

On white

9.29
#70257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#70257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70257F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70257F#FFFFFF#000000##FFFFFF
##70257F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70257f;
/* rgb */ color: rgb(112, 37, 127);
/* oklch */ color: oklch(41.8% 0.156 320.5);
Tailwind
colors: {
  custom: {
    50: '#9c66a4',
    500: '#70257f',
    950: '#000000',
  },
}
SCSS
$custom: #70257f;
$custom-light: #9c66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#70257f",
  "rgb": {
    "r": 112,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 290,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41794,
    "c": 0.15571,
    "h": 320.5
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#70257F
secondary
#5FB14F
accent
#DE4A62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70257F

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

Preview Lab → · Contrast checker → · Palette generator →

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