#70257D#70257D

#70257D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.154 H 321.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#70257D
RGBrgb(112, 37, 125)
HSLhsl(291, 54%, 32%)
HSVhsv(291, 70%, 49%)
CMYKcmyk(10.4%, 70.4%, 0%, 51%)
CIE-LABlab(30.03, 45.58, -34.37)
CIE-LCHlch(30.03, 57.08, 322.98°)
OKLaboklab(41.66% 0.1202 -0.096)
OKLCHoklch(41.66% 0.154 321.4)
XYZxyz(11.0449, 6.2491, 20.0225)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70257D #327D25
analogous
#44257D #70257D #7D255E
triadic
#70257D #7D7025 #257D70
tetradic
#70257D #7D4425 #327D25 #255E7D
square
#70257D #7D4425 #327D25 #255E7D
split-complementary
#70257D #5E7D25 #257D44
monochromatic
#1B091F #46174E #70257D #9A33AC #B951CB

Accessibility & contrast

On white

9.33
#70257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#70257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70257D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70257D#FFFFFF#000000##FFFFFF
##70257D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074180
Deuteranopia (green-blind)
#2F497B
Tritanopia (blue-blind)
#71344E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #70257d;
/* rgb */ color: rgb(112, 37, 125);
/* oklch */ color: oklch(41.7% 0.154 321.4);
Tailwind
colors: {
  custom: {
    50: '#9c66a3',
    500: '#70257d',
    950: '#000000',
  },
}
SCSS
$custom: #70257d;
$custom-light: #9c66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#70257d",
  "rgb": {
    "r": 112,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 291.136,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41662,
    "c": 0.15381,
    "h": 321.4
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#70257D
secondary
#5DAF4F
accent
#DE4A60
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70257D

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

Preview Lab → · Contrast checker → · Palette generator →

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