#70238A#70238A

#70238A is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.169 H 316.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#70238A
RGBrgb(112, 35, 138)
HSLhsl(285, 60%, 34%)
HSVhsv(285, 75%, 54%)
CMYKcmyk(18.8%, 74.6%, 0%, 45.9%)
CIE-LABlab(30.60, 49.07, -41.58)
CIE-LCHlch(30.60, 64.32, 319.72°)
OKLaboklab(42.34% 0.1214 -0.1171)
OKLCHoklch(42.34% 0.169 316)
XYZxyz(11.8699, 6.4823, 24.6658)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70238A #3D8A23
analogous
#3C238A #70238A #8A2371
triadic
#70238A #8A7023 #238A70
tetradic
#70238A #8A3C23 #3D8A23 #23718A
square
#70238A #8A3C23 #3D8A23 #23718A
split-complementary
#70238A #718A23 #238A3C
monochromatic
#210A28 #481759 #70238A #982FBB #B354D4

Accessibility & contrast

On white

9.14
#70238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#70238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70238A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70238A#FFFFFF#000000##FFFFFF
##70238A1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#224A88
Tritanopia (blue-blind)
#6E3954
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #70238a;
/* rgb */ color: rgb(112, 35, 138);
/* oklch */ color: oklch(42.3% 0.169 316.0);
Tailwind
colors: {
  custom: {
    50: '#9d66ad',
    500: '#70238a',
    950: '#000000',
  },
}
SCSS
$custom: #70238a;
$custom-light: #9d66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#70238a",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 284.854,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42341,
    "c": 0.16867,
    "h": 316
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#70238A
secondary
#6BB751
accent
#E3456D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #70238A

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

Preview Lab → · Contrast checker → · Palette generator →

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