#70238F#70238F

#70238F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.173 H 314.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#70238F
RGBrgb(112, 35, 143)
HSLhsl(283, 61%, 35%)
HSVhsv(283, 76%, 56%)
CMYKcmyk(21.7%, 75.5%, 0%, 43.9%)
CIE-LABlab(30.95, 50.12, -44.10)
CIE-LCHlch(30.95, 66.76, 318.66°)
OKLaboklab(42.7% 0.1208 -0.1245)
OKLCHoklch(42.7% 0.173 314.1)
XYZxyz(12.2402, 6.6304, 26.6163)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70238F #428F23
analogous
#3A238F #70238F #8F2378
triadic
#70238F #8F7023 #238F70
tetradic
#70238F #8F3A23 #428F23 #23788F
square
#70238F #8F3A23 #428F23 #23788F
split-complementary
#70238F #788F23 #238F3A
monochromatic
#230B2D #49175E #70238F #972FC0 #B157D6

Accessibility & contrast

On white

9.03
#70238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#70238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70238F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70238F#FFFFFF#000000##FFFFFF
##70238F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#1C4B8D
Tritanopia (blue-blind)
#6D3B57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #70238f;
/* rgb */ color: rgb(112, 35, 143);
/* oklch */ color: oklch(42.7% 0.173 314.1);
Tailwind
colors: {
  custom: {
    50: '#9d66b0',
    500: '#70238f',
    950: '#000000',
  },
}
SCSS
$custom: #70238f;
$custom-light: #9d66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#70238f",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 282.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42703,
    "c": 0.17344,
    "h": 314.1
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#70238F
secondary
#71BA54
accent
#E44472
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #70238F

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

Preview Lab → · Contrast checker → · Palette generator →

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