#70339D#70339D

#70339D is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.167 H 307.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#70339D
RGBrgb(112, 51, 157)
HSLhsl(275, 51%, 41%)
HSVhsv(275, 68%, 62%)
CMYKcmyk(28.7%, 67.5%, 0%, 38.4%)
CIE-LABlab(34.49, 46.11, -46.95)
CIE-LCHlch(34.49, 65.80, 314.48°)
OKLaboklab(45.54% 0.1017 -0.1329)
OKLCHoklch(45.54% 0.167 307.4)
XYZxyz(13.9504, 8.2469, 32.7486)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70339D #609D33
analogous
#3B339D #70339D #9D3395
triadic
#70339D #9D7033 #339D70
tetradic
#70339D #9D3B33 #609D33 #33959D
square
#70339D #9D3B33 #609D33 #33959D
split-complementary
#70339D #959D33 #339D3B
monochromatic
#2E1541 #4F246F #70339D #9049C4 #AC77D3

Accessibility & contrast

On white

7.93
#70339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#70339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70339D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70339D#FFFFFF#000000##FFFFFF
##70339D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#1B529B
Tritanopia (blue-blind)
#694A64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #70339d;
/* rgb */ color: rgb(112, 51, 157);
/* oklch */ color: oklch(45.5% 0.167 307.4);
Tailwind
colors: {
  custom: {
    50: '#9d6fbb',
    500: '#70339d',
    950: '#000000',
  },
}
SCSS
$custom: #70339d;
$custom-light: #9d6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#70339d",
  "rgb": {
    "r": 112,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 274.528,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45544,
    "c": 0.16737,
    "h": 307.4
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#70339D
secondary
#90BB70
accent
#DA4D89
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #70339D

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

Preview Lab → · Contrast checker → · Palette generator →

#70339D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva