#70309C#70309C

#70309C is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.170 H 308.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#70309C
RGBrgb(112, 48, 156)
HSLhsl(276, 53%, 40%)
HSVhsv(276, 69%, 61%)
CMYKcmyk(28.2%, 69.2%, 0%, 38.8%)
CIE-LABlab(33.90, 47.33, -47.30)
CIE-LCHlch(33.90, 66.91, 315.02°)
OKLaboklab(45.1% 0.1053 -0.1339)
OKLCHoklch(45.1% 0.17 308.2)
XYZxyz(13.7386, 7.9592, 32.2586)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70309C #5C9C30
analogous
#3A309C #70309C #9C3092
triadic
#70309C #9C7030 #309C70
tetradic
#70309C #9C3A30 #5C9C30 #30929C
square
#70309C #9C3A30 #5C9C30 #30929C
split-complementary
#70309C #929C30 #309C3A
monochromatic
#2D133E #4E226D #70309C #9144C5 #AC73D4

Accessibility & contrast

On white

8.10
#70309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70309C
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70309C#FFFFFF#000000##FFFFFF
##70309C1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#18509A
Tritanopia (blue-blind)
#694762
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #70309c;
/* rgb */ color: rgb(112, 48, 156);
/* oklch */ color: oklch(45.1% 0.170 308.2);
Tailwind
colors: {
  custom: {
    50: '#9d6dba',
    500: '#70309c',
    950: '#000000',
  },
}
SCSS
$custom: #70309c;
$custom-light: #9d6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#70309c",
  "rgb": {
    "r": 112,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 275.556,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.17035,
    "h": 308.2
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#70309C
secondary
#8DBC6C
accent
#DC4B86
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #70309C

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

Preview Lab → · Contrast checker → · Palette generator →

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