#70307E#70307E

#70307E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.1% C 0.139 H 320.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#70307E
RGBrgb(112, 48, 126)
HSLhsl(289, 45%, 34%)
HSVhsv(289, 62%, 49%)
CMYKcmyk(11.1%, 61.9%, 0%, 50.6%)
CIE-LABlab(31.96, 40.63, -31.93)
CIE-LCHlch(31.96, 51.67, 321.83°)
OKLaboklab(43.07% 0.1064 -0.089)
OKLCHoklch(43.07% 0.139 320.1)
XYZxyz(11.5045, 7.0655, 20.4924)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70307E #3E7E30
analogous
#49307E #70307E #7E3065
triadic
#70307E #7E7030 #307E70
tetradic
#70307E #7E4930 #3E7E30 #30657E
square
#70307E #7E4930 #3E7E30 #30657E
split-complementary
#70307E #657E30 #307E49
monochromatic
#210E25 #491F52 #70307E #9741AA #B364C4

Accessibility & contrast

On white

8.70
#70307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#70307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70307E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70307E#FFFFFF#000000##FFFFFF
##70307E1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4780
Deuteranopia (green-blind)
#364D7C
Tritanopia (blue-blind)
#713C52
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #70307e;
/* rgb */ color: rgb(112, 48, 126);
/* oklch */ color: oklch(43.1% 0.139 320.1);
Tailwind
colors: {
  custom: {
    50: '#9b6ca4',
    500: '#70307e',
    950: '#000000',
  },
}
SCSS
$custom: #70307e;
$custom-light: #9b6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#70307e",
  "rgb": {
    "r": 112,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 289.231,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43072,
    "c": 0.13866,
    "h": 320.1
  },
  "luminance": 0.07065
}

Semantic roles & 50–950 ramp

primary
#70307E
secondary
#6CAB5F
accent
#D5536A
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #70307E

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

Preview Lab → · Contrast checker → · Palette generator →

#70307E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva