#6E226D#6E226D

#6E226D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.0% C 0.142 H 328.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#6E226D
RGBrgb(110, 34, 109)
HSLhsl(301, 53%, 28%)
HSVhsv(301, 69%, 43%)
CMYKcmyk(0%, 69.1%, 0.9%, 56.9%)
CIE-LABlab(28.28, 43.28, -27.00)
CIE-LCHlch(28.28, 51.01, 328.04°)
OKLaboklab(40.03% 0.1211 -0.0746)
OKLCHoklch(40.03% 0.142 328.4)
XYZxyz(9.7626, 5.5639, 15.0248)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E226D #226E23
analogous
#49226E #6E226D #6E2247
triadic
#6E226D #6D6E22 #226D6E
tetradic
#6E226D #6E4922 #226E23 #22476E
square
#6E226D #6E4922 #226E23 #22476E
split-complementary
#6E226D #476E22 #226E49
monochromatic
#170717 #3F143F #6E226D #9D309B #C545C4

Accessibility & contrast

On white

9.94
#6E226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6E226D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E226D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E226D#FFFFFF#000000##FFFFFF
##6E226D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183C6F
Deuteranopia (green-blind)
#35466B
Tritanopia (blue-blind)
#722C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e226d;
/* rgb */ color: rgb(110, 34, 109);
/* oklch */ color: oklch(40.0% 0.142 328.4);
Tailwind
colors: {
  custom: {
    50: '#9a6497',
    500: '#6e226d',
    950: '#000000',
  },
}
SCSS
$custom: #6e226d;
$custom-light: #9a6497;
$custom-dark: #000000;
JSON
{
  "hex": "#6e226d",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 300.789,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40028,
    "c": 0.14222,
    "h": 328.4
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#6E226D
secondary
#4AA14B
accent
#DC4E4C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6E226D

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

Preview Lab → · Contrast checker → · Palette generator →

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