#70239E#70239E

#70239E is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.188 H 308.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#70239E
RGBrgb(112, 35, 158)
HSLhsl(278, 64%, 38%)
HSVhsv(278, 78%, 62%)
CMYKcmyk(29.1%, 77.8%, 0%, 38%)
CIE-LABlab(32.07, 53.38, -51.47)
CIE-LCHlch(32.07, 74.16, 316.04°)
OKLaboklab(43.85% 0.1181 -0.1461)
OKLCHoklch(43.85% 0.188 308.9)
XYZxyz(13.4534, 7.1157, 33.0059)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70239E #519E23
analogous
#32239E #70239E #9E238E
triadic
#70239E #9E7023 #239E70
tetradic
#70239E #9E3223 #519E23 #238E9E
square
#70239E #9E3223 #519E23 #238E9E
split-complementary
#70239E #8E9E23 #239E32
monochromatic
#290D3A #4C186C #70239E #942ED0 #AD60DC

Accessibility & contrast

On white

8.67
#70239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#70239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70239E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70239E#FFFFFF#000000##FFFFFF
##70239E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#694160
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #70239e;
/* rgb */ color: rgb(112, 35, 158);
/* oklch */ color: oklch(43.8% 0.188 308.9);
Tailwind
colors: {
  custom: {
    50: '#9e67bb',
    500: '#70239e',
    950: '#000000',
  },
}
SCSS
$custom: #70239e;
$custom-light: #9e67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#70239e",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 277.561,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43845,
    "c": 0.18786,
    "h": 308.9
  },
  "luminance": 0.07115
}

Semantic roles & 50–950 ramp

primary
#70239E
secondary
#82C15C
accent
#E7417F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #70239E

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

Preview Lab → · Contrast checker → · Palette generator →

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