#70307F#70307F

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

Color values

HEX#70307F
RGBrgb(112, 48, 127)
HSLhsl(289, 45%, 34%)
HSVhsv(289, 62%, 50%)
CMYKcmyk(11.8%, 62.2%, 0%, 50.2%)
CIE-LABlab(32.01, 40.84, -32.46)
CIE-LCHlch(32.01, 52.17, 321.52°)
OKLaboklab(43.13% 0.1064 -0.0905)
OKLCHoklch(43.13% 0.14 319.6)
XYZxyz(11.5693, 7.0915, 20.8339)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70307F #3F7F30
analogous
#49307F #70307F #7F3067
triadic
#70307F #7F7030 #307F70
tetradic
#70307F #7F4930 #3F7F30 #30677F
square
#70307F #7F4930 #3F7F30 #30677F
split-complementary
#70307F #677F30 #307F49
monochromatic
#220E26 #491F53 #70307F #9741AB #B265C5

Accessibility & contrast

On white

8.68
#70307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#70307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70307F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70307F#FFFFFF#000000##FFFFFF
##70307F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4781
Deuteranopia (green-blind)
#364E7D
Tritanopia (blue-blind)
#703D53
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #70307f;
/* rgb */ color: rgb(112, 48, 127);
/* oklch */ color: oklch(43.1% 0.140 319.6);
Tailwind
colors: {
  custom: {
    50: '#9b6ca4',
    500: '#70307f',
    950: '#000000',
  },
}
SCSS
$custom: #70307f;
$custom-light: #9b6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#70307f",
  "rgb": {
    "r": 112,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 288.608,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43134,
    "c": 0.13969,
    "h": 319.6
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#70307F
secondary
#6EAC5F
accent
#D5536C
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #70307F

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

Preview Lab → · Contrast checker → · Palette generator →

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