#70238E#70238E

#70238E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.172 H 314.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#70238E
RGBrgb(112, 35, 142)
HSLhsl(283, 60%, 35%)
HSVhsv(283, 75%, 56%)
CMYKcmyk(21.1%, 75.4%, 0%, 44.3%)
CIE-LABlab(30.88, 49.91, -43.60)
CIE-LCHlch(30.88, 66.27, 318.86°)
OKLaboklab(42.63% 0.1209 -0.123)
OKLCHoklch(42.63% 0.172 314.5)
XYZxyz(12.1648, 6.6002, 26.2191)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70238E #418E23
analogous
#3B238E #70238E #8E2376
triadic
#70238E #8E7023 #238E70
tetradic
#70238E #8E3B23 #418E23 #23768E
square
#70238E #8E3B23 #418E23 #23768E
split-complementary
#70238E #768E23 #238E3B
monochromatic
#230B2C #49175D #70238E #972FBF #B256D5

Accessibility & contrast

On white

9.05
#70238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#70238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70238E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70238E#FFFFFF#000000##FFFFFF
##70238E1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#1D4B8C
Tritanopia (blue-blind)
#6D3A57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #70238e;
/* rgb */ color: rgb(112, 35, 142);
/* oklch */ color: oklch(42.6% 0.172 314.5);
Tailwind
colors: {
  custom: {
    50: '#9d66b0',
    500: '#70238e',
    950: '#000000',
  },
}
SCSS
$custom: #70238e;
$custom-light: #9d66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#70238e",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 283.178,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4263,
    "c": 0.17248,
    "h": 314.5
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#70238E
secondary
#70B953
accent
#E44471
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70238E

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

Preview Lab → · Contrast checker → · Palette generator →

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