#70309F#70309F

#70309F is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.174 H 307.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#70309F
RGBrgb(112, 48, 159)
HSLhsl(275, 54%, 41%)
HSVhsv(275, 70%, 62%)
CMYKcmyk(29.6%, 69.8%, 0%, 37.6%)
CIE-LABlab(34.11, 48.03, -48.77)
CIE-LCHlch(34.11, 68.45, 314.56°)
OKLaboklab(45.32% 0.1049 -0.1383)
OKLCHoklch(45.32% 0.174 307.2)
XYZxyz(13.9957, 8.0620, 33.6130)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70309F #5F9F30
analogous
#39309F #70309F #9F3096
triadic
#70309F #9F7030 #309F70
tetradic
#70309F #9F3930 #5F9F30 #30969F
square
#70309F #9F3930 #5F9F30 #30969F
split-complementary
#70309F #969F30 #309F39
monochromatic
#2E1441 #4F2270 #70309F #9045C7 #AC74D5

Accessibility & contrast

On white

8.04
#70309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#70309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70309F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70309F#FFFFFF#000000##FFFFFF
##70309F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#12519D
Tritanopia (blue-blind)
#684964
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #70309f;
/* rgb */ color: rgb(112, 48, 159);
/* oklch */ color: oklch(45.3% 0.174 307.2);
Tailwind
colors: {
  custom: {
    50: '#9d6dbc',
    500: '#70309f',
    950: '#000000',
  },
}
SCSS
$custom: #70309f;
$custom-light: #9d6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#70309f",
  "rgb": {
    "r": 112,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 274.595,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45317,
    "c": 0.17355,
    "h": 307.2
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#70309F
secondary
#8FBD6E
accent
#DD4B89
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #70309F

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

Preview Lab → · Contrast checker → · Palette generator →

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