#70238B#70238B

#70238B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.170 H 315.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#70238B
RGBrgb(112, 35, 139)
HSLhsl(284, 60%, 34%)
HSVhsv(284, 75%, 55%)
CMYKcmyk(19.4%, 74.8%, 0%, 45.5%)
CIE-LABlab(30.67, 49.28, -42.09)
CIE-LCHlch(30.67, 64.81, 319.50°)
OKLaboklab(42.41% 0.1213 -0.1186)
OKLCHoklch(42.41% 0.17 315.7)
XYZxyz(11.9426, 6.5113, 25.0488)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70238B #3E8B23
analogous
#3C238B #70238B #8B2372
triadic
#70238B #8B7023 #238B70
tetradic
#70238B #8B3C23 #3E8B23 #23728B
square
#70238B #8B3C23 #3E8B23 #23728B
split-complementary
#70238B #728B23 #238B3C
monochromatic
#210A29 #49175A #70238B #972FBC #B354D4

Accessibility & contrast

On white

9.12
#70238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70238B
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70238B#FFFFFF#000000##FFFFFF
##70238B1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#214A89
Tritanopia (blue-blind)
#6E3955
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #70238b;
/* rgb */ color: rgb(112, 35, 139);
/* oklch */ color: oklch(42.4% 0.170 315.7);
Tailwind
colors: {
  custom: {
    50: '#9d66ad',
    500: '#70238b',
    950: '#000000',
  },
}
SCSS
$custom: #70238b;
$custom-light: #9d66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#70238b",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 284.423,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.16962,
    "h": 315.7
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#70238B
secondary
#6CB852
accent
#E3456E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70238B

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

Preview Lab → · Contrast checker → · Palette generator →

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