#6E226F#6E226F

#6E226F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.1% C 0.144 H 327.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#6E226F
RGBrgb(110, 34, 111)
HSLhsl(299, 53%, 28%)
HSVhsv(299, 69%, 44%)
CMYKcmyk(0.9%, 69.4%, 0%, 56.5%)
CIE-LABlab(28.40, 43.65, -28.10)
CIE-LCHlch(28.40, 51.91, 327.23°)
OKLaboklab(40.15% 0.1212 -0.0778)
OKLCHoklch(40.15% 0.144 327.3)
XYZxyz(9.8715, 5.6074, 15.5982)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E226F #236F22
analogous
#47226F #6E226F #6F2249
triadic
#6E226F #6F6E22 #226F6E
tetradic
#6E226F #6F4722 #236F22 #22496F
square
#6E226F #6F4722 #236F22 #22496F
split-complementary
#6E226F #496F22 #226F47
monochromatic
#170717 #401440 #6E226F #9C309E #C445C6

Accessibility & contrast

On white

9.90
#6E226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6E226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E226F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E226F#FFFFFF#000000##FFFFFF
##6E226F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#34466D
Tritanopia (blue-blind)
#712D45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e226f;
/* rgb */ color: rgb(110, 34, 111);
/* oklch */ color: oklch(40.1% 0.144 327.3);
Tailwind
colors: {
  custom: {
    50: '#9a6498',
    500: '#6e226f',
    950: '#000000',
  },
}
SCSS
$custom: #6e226f;
$custom-light: #9a6498;
$custom-dark: #000000;
JSON
{
  "hex": "#6e226f",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 299.221,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40148,
    "c": 0.14399,
    "h": 327.3
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#6E226F
secondary
#4CA24A
accent
#DD4B4D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E226F

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

Preview Lab → · Contrast checker → · Palette generator →

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