#70258B#70258B

#70258B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.167 H 315.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#70258B
RGBrgb(112, 37, 139)
HSLhsl(284, 58%, 35%)
HSVhsv(284, 73%, 55%)
CMYKcmyk(19.4%, 73.4%, 0%, 45.5%)
CIE-LABlab(30.95, 48.46, -41.62)
CIE-LCHlch(30.95, 63.88, 319.34°)
OKLaboklab(42.62% 0.1192 -0.1172)
OKLCHoklch(42.62% 0.167 315.5)
XYZxyz(12.0031, 6.6324, 25.0690)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70258B #408B25
analogous
#3D258B #70258B #8B2573
triadic
#70258B #8B7025 #258B70
tetradic
#70258B #8B3D25 #408B25 #25738B
square
#70258B #8B3D25 #408B25 #25738B
split-complementary
#70258B #738B25 #258B3D
monochromatic
#220B2A #49185B #70258B #9732BB #B258D3

Accessibility & contrast

On white

9.03
#70258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70258B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70258B#FFFFFF#000000##FFFFFF
##70258B1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#234B89
Tritanopia (blue-blind)
#6E3A56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #70258b;
/* rgb */ color: rgb(112, 37, 139);
/* oklch */ color: oklch(42.6% 0.167 315.5);
Tailwind
colors: {
  custom: {
    50: '#9d67ad',
    500: '#70258b',
    950: '#000000',
  },
}
SCSS
$custom: #70258b;
$custom-light: #9d67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#70258b",
  "rgb": {
    "r": 112,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 284.118,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42617,
    "c": 0.1672,
    "h": 315.5
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#70258B
secondary
#6FB755
accent
#E14770
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #70258B

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

Preview Lab → · Contrast checker → · Palette generator →

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