#70339E#70339E

#70339E is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.168 H 307.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#70339E
RGBrgb(112, 51, 158)
HSLhsl(274, 51%, 41%)
HSVhsv(274, 68%, 62%)
CMYKcmyk(29.1%, 67.7%, 0%, 38%)
CIE-LABlab(34.56, 46.35, -47.44)
CIE-LCHlch(34.56, 66.32, 314.33°)
OKLaboklab(45.62% 0.1016 -0.1344)
OKLCHoklch(45.62% 0.168 307.1)
XYZxyz(14.0362, 8.2812, 33.2001)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70339E #619E33
analogous
#3B339E #70339E #9E3396
triadic
#70339E #9E7033 #339E70
tetradic
#70339E #9E3B33 #619E33 #33969E
square
#70339E #9E3B33 #619E33 #33969E
split-complementary
#70339E #969E33 #339E3B
monochromatic
#2E1541 #4F2470 #70339E #904AC4 #AC78D3

Accessibility & contrast

On white

7.91
#70339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#70339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70339E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70339E#FFFFFF#000000##FFFFFF
##70339E1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#1A529C
Tritanopia (blue-blind)
#684A64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #70339e;
/* rgb */ color: rgb(112, 51, 158);
/* oklch */ color: oklch(45.6% 0.168 307.1);
Tailwind
colors: {
  custom: {
    50: '#9d6fbb',
    500: '#70339e',
    950: '#000000',
  },
}
SCSS
$custom: #70339e;
$custom-light: #9d6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#70339e",
  "rgb": {
    "r": 112,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 274.206,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45617,
    "c": 0.16846,
    "h": 307.1
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#70339E
secondary
#91BC71
accent
#DB4D8A
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #70339E

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

Preview Lab → · Contrast checker → · Palette generator →

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