#70239C#70239C

#70239C is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.186 H 309.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#70239C
RGBrgb(112, 35, 156)
HSLhsl(278, 63%, 37%)
HSVhsv(278, 78%, 61%)
CMYKcmyk(28.2%, 77.6%, 0%, 38.8%)
CIE-LABlab(31.91, 52.94, -50.51)
CIE-LCHlch(31.91, 73.17, 316.35°)
OKLaboklab(43.69% 0.1185 -0.1433)
OKLCHoklch(43.69% 0.186 309.6)
XYZxyz(13.2827, 7.0474, 32.1066)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70239C #4F9C23
analogous
#34239C #70239C #9C238B
triadic
#70239C #9C7023 #239C70
tetradic
#70239C #9C3423 #4F9C23 #238B9C
square
#70239C #9C3423 #4F9C23 #238B9C
split-complementary
#70239C #8B9C23 #239C34
monochromatic
#280D38 #4C186A #70239C #942ECE #AE5EDB

Accessibility & contrast

On white

8.72
#70239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#70239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70239C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70239C#FFFFFF#000000##FFFFFF
##70239C1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#6A405F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #70239c;
/* rgb */ color: rgb(112, 35, 156);
/* oklch */ color: oklch(43.7% 0.186 309.6);
Tailwind
colors: {
  custom: {
    50: '#9e67ba',
    500: '#70239c',
    950: '#000000',
  },
}
SCSS
$custom: #70239c;
$custom-light: #9e67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#70239c",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 278.182,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43688,
    "c": 0.18593,
    "h": 309.6
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#70239C
secondary
#80C05B
accent
#E6417D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #70239C

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

Preview Lab → · Contrast checker → · Palette generator →

#70239C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva