#70239D#70239D

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

Color values

HEX#70239D
RGBrgb(112, 35, 157)
HSLhsl(278, 64%, 38%)
HSVhsv(278, 78%, 62%)
CMYKcmyk(28.7%, 77.7%, 0%, 38.4%)
CIE-LABlab(31.99, 53.16, -50.99)
CIE-LCHlch(31.99, 73.66, 316.19°)
OKLaboklab(43.77% 0.1183 -0.1447)
OKLCHoklch(43.77% 0.187 309.3)
XYZxyz(13.3677, 7.0814, 32.5544)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70239D #509D23
analogous
#33239D #70239D #9D238D
triadic
#70239D #9D7023 #239D70
tetradic
#70239D #9D3323 #509D23 #238D9D
square
#70239D #9D3323 #509D23 #238D9D
split-complementary
#70239D #8D9D23 #239D33
monochromatic
#290D39 #4C186B #70239D #942ECF #AE5FDB

Accessibility & contrast

On white

8.69
#70239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70239D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70239D#FFFFFF#000000##FFFFFF
##70239D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#69415F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #70239d;
/* rgb */ color: rgb(112, 35, 157);
/* oklch */ color: oklch(43.8% 0.187 309.3);
Tailwind
colors: {
  custom: {
    50: '#9e67bb',
    500: '#70239d',
    950: '#000000',
  },
}
SCSS
$custom: #70239d;
$custom-light: #9e67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#70239d",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 277.869,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43767,
    "c": 0.18689,
    "h": 309.3
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#70239D
secondary
#81C05C
accent
#E7417E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #70239D

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

Preview Lab → · Contrast checker → · Palette generator →

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