#70229F#70229F

#70229F is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.190 H 308.7°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#70229F
RGBrgb(112, 34, 159)
HSLhsl(277, 65%, 38%)
HSVhsv(277, 79%, 62%)
CMYKcmyk(29.6%, 78.6%, 0%, 37.6%)
CIE-LABlab(32.02, 53.98, -52.17)
CIE-LCHlch(32.02, 75.07, 315.98°)
OKLaboklab(43.83% 0.1187 -0.1482)
OKLCHoklch(43.83% 0.19 308.7)
XYZxyz(13.5108, 7.0922, 33.4514)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70229F #519F22
analogous
#31229F #70229F #9F228F
triadic
#70229F #9F7022 #229F70
tetradic
#70229F #9F3122 #519F22 #228F9F
square
#70229F #9F3122 #519F22 #228F9F
split-complementary
#70229F #8F9F22 #229F31
monochromatic
#290C3A #4C176D #70229F #942DD1 #AD5FDD

Accessibility & contrast

On white

8.68
#70229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#70229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70229F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70229F#FFFFFF#000000##FFFFFF
##70229F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#694160
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #70229f;
/* rgb */ color: rgb(112, 34, 159);
/* oklch */ color: oklch(43.8% 0.190 308.7);
Tailwind
colors: {
  custom: {
    50: '#9e67bc',
    500: '#70229f',
    950: '#000000',
  },
}
SCSS
$custom: #70229f;
$custom-light: #9e67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#70229f",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 277.44,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43833,
    "c": 0.18985,
    "h": 308.7
  },
  "luminance": 0.07092
}

Semantic roles & 50–950 ramp

primary
#70229F
secondary
#82C15B
accent
#E8407F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #70229F

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

Preview Lab → · Contrast checker → · Palette generator →

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