#70279B#70279B

#70279B is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.181 H 309.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#70279B
RGBrgb(112, 39, 155)
HSLhsl(278, 60%, 38%)
HSVhsv(278, 75%, 61%)
CMYKcmyk(27.7%, 74.8%, 0%, 39.2%)
CIE-LABlab(32.40, 51.12, -49.12)
CIE-LCHlch(32.40, 70.89, 316.15°)
OKLaboklab(44.01% 0.1149 -0.1392)
OKLCHoklch(44.01% 0.181 309.5)
XYZxyz(13.3228, 7.2626, 31.7040)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70279B #529B27
analogous
#36279B #70279B #9B278C
triadic
#70279B #9B7027 #279B70
tetradic
#70279B #9B3627 #529B27 #278C9B
square
#70279B #9B3627 #529B27 #278C9B
split-complementary
#70279B #8C9B27 #279B36
monochromatic
#290E39 #4D1B6A #70279B #9333CC #AD64D8

Accessibility & contrast

On white

8.56
#70279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#70279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70279B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70279B#FFFFFF#000000##FFFFFF
##70279B1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#074D99
Tritanopia (blue-blind)
#6A425F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #70279b;
/* rgb */ color: rgb(112, 39, 155);
/* oklch */ color: oklch(44.0% 0.181 309.5);
Tailwind
colors: {
  custom: {
    50: '#9d69b9',
    500: '#70279b',
    950: '#000000',
  },
}
SCSS
$custom: #70279b;
$custom-light: #9d69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#70279b",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 277.759,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44005,
    "c": 0.18052,
    "h": 309.5
  },
  "luminance": 0.07262
}

Semantic roles & 50–950 ramp

primary
#70279B
secondary
#83BE60
accent
#E3457F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #70279B

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

Preview Lab → · Contrast checker → · Palette generator →

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