#70258C#70258C

#70258C is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.168 H 315.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#70258C
RGBrgb(112, 37, 140)
HSLhsl(284, 58%, 35%)
HSVhsv(284, 74%, 55%)
CMYKcmyk(20%, 73.6%, 0%, 45.1%)
CIE-LABlab(31.02, 48.67, -42.13)
CIE-LCHlch(31.02, 64.38, 319.12°)
OKLaboklab(42.69% 0.1191 -0.1187)
OKLCHoklch(42.69% 0.168 315.1)
XYZxyz(12.0765, 6.6618, 25.4556)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70258C #418C25
analogous
#3C258C #70258C #8C2575
triadic
#70258C #8C7025 #258C70
tetradic
#70258C #8C3C25 #418C25 #25758C
square
#70258C #8C3C25 #418C25 #25758C
split-complementary
#70258C #758C25 #258C3C
monochromatic
#230B2B #49185C #70258C #9732BC #B258D3

Accessibility & contrast

On white

9.00
#70258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#70258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70258C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70258C#FFFFFF#000000##FFFFFF
##70258C1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#224B8A
Tritanopia (blue-blind)
#6E3B56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #70258c;
/* rgb */ color: rgb(112, 37, 140);
/* oklch */ color: oklch(42.7% 0.168 315.1);
Tailwind
colors: {
  custom: {
    50: '#9d67ae',
    500: '#70258c',
    950: '#000000',
  },
}
SCSS
$custom: #70258c;
$custom-light: #9d67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#70258c",
  "rgb": {
    "r": 112,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 283.689,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42689,
    "c": 0.16816,
    "h": 315.1
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#70258C
secondary
#70B855
accent
#E14671
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #70258C

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

Preview Lab → · Contrast checker → · Palette generator →

#70258C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva