#70308B#70308B

#70308B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.152 H 314.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#70308B
RGBrgb(112, 48, 139)
HSLhsl(282, 49%, 37%)
HSVhsv(282, 65%, 55%)
CMYKcmyk(19.4%, 65.5%, 0%, 45.5%)
CIE-LABlab(32.75, 43.44, -38.74)
CIE-LCHlch(32.75, 58.21, 318.28°)
OKLaboklab(43.91% 0.1065 -0.1088)
OKLCHoklch(43.91% 0.152 314.4)
XYZxyz(12.3985, 7.4231, 25.2008)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70308B #4B8B30
analogous
#43308B #70308B #8B3079
triadic
#70308B #8B7030 #308B70
tetradic
#70308B #8B4330 #4B8B30 #30798B
square
#70308B #8B4330 #4B8B30 #30798B
split-complementary
#70308B #798B30 #308B43
monochromatic
#271130 #4B205E #70308B #9540B8 #AF6ACC

Accessibility & contrast

On white

8.45
#70308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#70308B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70308B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70308B#FFFFFF#000000##FFFFFF
##70308B1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A498E
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#6E4159
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #70308b;
/* rgb */ color: rgb(112, 48, 139);
/* oklch */ color: oklch(43.9% 0.152 314.4);
Tailwind
colors: {
  custom: {
    50: '#9c6dad',
    500: '#70308b',
    950: '#000000',
  },
}
SCSS
$custom: #70308b;
$custom-light: #9c6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#70308b",
  "rgb": {
    "r": 112,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 282.198,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.15226,
    "h": 314.4
  },
  "luminance": 0.07423
}

Semantic roles & 50–950 ramp

primary
#70308B
secondary
#7BB364
accent
#D85078
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #70308B

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

Preview Lab → · Contrast checker → · Palette generator →

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