#70209B#70209B

#70209B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.188 H 310.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#70209B
RGBrgb(112, 32, 155)
HSLhsl(279, 66%, 37%)
HSVhsv(279, 79%, 61%)
CMYKcmyk(27.7%, 79.4%, 0%, 39.2%)
CIE-LABlab(31.45, 53.84, -50.65)
CIE-LCHlch(31.45, 73.92, 316.75°)
OKLaboklab(43.34% 0.1213 -0.1437)
OKLCHoklch(43.34% 0.188 310.2)
XYZxyz(13.1138, 6.8446, 31.6343)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70209B #4B9B20
analogous
#32209B #70209B #9B2089
triadic
#70209B #9B7020 #209B70
tetradic
#70209B #9B3220 #4B9B20 #20899B
square
#70209B #9B3220 #4B9B20 #20899B
split-complementary
#70209B #899B20 #209B32
monochromatic
#270B36 #4B1668 #70209B #952ACE #AF59DD

Accessibility & contrast

On white

8.87
#70209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#70209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70209B
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70209B#FFFFFF#000000##FFFFFF
##70209B1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#6A3F5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #70209b;
/* rgb */ color: rgb(112, 32, 155);
/* oklch */ color: oklch(43.3% 0.188 310.2);
Tailwind
colors: {
  custom: {
    50: '#9e65b9',
    500: '#70209b',
    950: '#000000',
  },
}
SCSS
$custom: #70209b;
$custom-light: #9e65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#70209b",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 279.024,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43338,
    "c": 0.18806,
    "h": 310.2
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#70209B
secondary
#7BC156
accent
#E93F7A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #70209B

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

Preview Lab → · Contrast checker → · Palette generator →

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