#6E228E#6E228E

#6E228E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.173 H 313.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6E228E
RGBrgb(110, 34, 142)
HSLhsl(282, 61%, 35%)
HSVhsv(282, 76%, 56%)
CMYKcmyk(22.5%, 76.1%, 0%, 44.3%)
CIE-LABlab(30.43, 49.89, -44.34)
CIE-LCHlch(30.43, 66.75, 318.37°)
OKLaboklab(42.25% 0.1192 -0.1252)
OKLCHoklch(42.25% 0.173 313.6)
XYZxyz(11.8841, 6.4124, 26.1976)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E228E #428E22
analogous
#38228E #6E228E #8E2278
triadic
#6E228E #8E6E22 #228E6E
tetradic
#6E228E #8E3822 #428E22 #22788E
square
#6E228E #8E3822 #428E22 #22788E
split-complementary
#6E228E #788E22 #228E38
monochromatic
#220A2B #48165D #6E228E #942EBF #B054D6

Accessibility & contrast

On white

9.20
#6E228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6E228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E228E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E228E#FFFFFF#000000##FFFFFF
##6E228E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#18498C
Tritanopia (blue-blind)
#6B3A56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e228e;
/* rgb */ color: rgb(110, 34, 142);
/* oklch */ color: oklch(42.2% 0.173 313.6);
Tailwind
colors: {
  custom: {
    50: '#9b65b0',
    500: '#6e228e',
    950: '#000000',
  },
}
SCSS
$custom: #6e228e;
$custom-light: #9b65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e228e",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 282.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42249,
    "c": 0.17292,
    "h": 313.6
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#6E228E
secondary
#71BA52
accent
#E44373
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E228E

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

Preview Lab → · Contrast checker → · Palette generator →

#6E228E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva