#70309B#70309B

#70309B is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.169 H 308.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#70309B
RGBrgb(112, 48, 155)
HSLhsl(276, 53%, 40%)
HSVhsv(276, 69%, 61%)
CMYKcmyk(27.7%, 69%, 0%, 39.2%)
CIE-LABlab(33.83, 47.09, -46.81)
CIE-LCHlch(33.83, 66.40, 315.18°)
OKLaboklab(45.02% 0.1054 -0.1325)
OKLCHoklch(45.02% 0.169 308.5)
XYZxyz(13.6542, 7.9254, 31.8144)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70309B #5B9B30
analogous
#3B309B #70309B #9B3090
triadic
#70309B #9B7030 #309B70
tetradic
#70309B #9B3B30 #5B9B30 #30909B
square
#70309B #9B3B30 #5B9B30 #30909B
split-complementary
#70309B #909B30 #309B3B
monochromatic
#2C133E #4E226C #70309B #9143C5 #AC72D3

Accessibility & contrast

On white

8.12
#70309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#70309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70309B
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70309B#FFFFFF#000000##FFFFFF
##70309B1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#1A5099
Tritanopia (blue-blind)
#694761
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #70309b;
/* rgb */ color: rgb(112, 48, 155);
/* oklch */ color: oklch(45.0% 0.169 308.5);
Tailwind
colors: {
  custom: {
    50: '#9d6db9',
    500: '#70309b',
    950: '#000000',
  },
}
SCSS
$custom: #70309b;
$custom-light: #9d6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#70309b",
  "rgb": {
    "r": 112,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 275.888,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45023,
    "c": 0.16928,
    "h": 308.5
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

primary
#70309B
secondary
#8CBB6C
accent
#DC4C86
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #70309B

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

Preview Lab → · Contrast checker → · Palette generator →

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