#6D226E#6D226E

#6D226E is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.9% C 0.143 H 327.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#6D226E
RGBrgb(109, 34, 110)
HSLhsl(299, 53%, 28%)
HSVhsv(299, 69%, 43%)
CMYKcmyk(0.9%, 69.1%, 0%, 56.9%)
CIE-LABlab(28.17, 43.20, -27.83)
CIE-LCHlch(28.17, 51.39, 327.21°)
OKLaboklab(39.93% 0.12 -0.077)
OKLCHoklch(39.93% 0.143 327.3)
XYZxyz(9.6930, 5.5217, 15.3041)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D226E #236E22
analogous
#47226E #6D226E #6E2249
triadic
#6D226E #6E6D22 #226E6D
tetradic
#6D226E #6E4722 #236E22 #22496E
square
#6D226E #6E4722 #236E22 #22496E
split-complementary
#6D226E #496E22 #226E47
monochromatic
#170717 #3F143F #6D226E #9B309D #C445C5

Accessibility & contrast

On white

9.98
#6D226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6D226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D226E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D226E#FFFFFF#000000##FFFFFF
##6D226E1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163C70
Deuteranopia (green-blind)
#34466C
Tritanopia (blue-blind)
#702D45
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d226e;
/* rgb */ color: rgb(109, 34, 110);
/* oklch */ color: oklch(39.9% 0.143 327.3);
Tailwind
colors: {
  custom: {
    50: '#9a6498',
    500: '#6d226e',
    950: '#000000',
  },
}
SCSS
$custom: #6d226e;
$custom-light: #9a6498;
$custom-dark: #000000;
JSON
{
  "hex": "#6d226e",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 299.211,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39932,
    "c": 0.14254,
    "h": 327.3
  },
  "luminance": 0.05521
}

Semantic roles & 50–950 ramp

primary
#6D226E
secondary
#4BA14A
accent
#DC4C4E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6D226E

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

Preview Lab → · Contrast checker → · Palette generator →

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