#6E227E#6E227E

#6E227E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.158 H 320.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#6E227E
RGBrgb(110, 34, 126)
HSLhsl(290, 58%, 31%)
HSVhsv(290, 73%, 49%)
CMYKcmyk(12.7%, 73%, 0%, 50.6%)
CIE-LABlab(29.33, 46.56, -36.14)
CIE-LCHlch(29.33, 58.94, 322.18°)
OKLaboklab(41.11% 0.121 -0.1012)
OKLCHoklch(41.11% 0.158 320.1)
XYZxyz(10.7679, 5.9659, 20.3190)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E227E #327E22
analogous
#40227E #6E227E #7E2260
triadic
#6E227E #7E6E22 #227E6E
tetradic
#6E227E #7E4022 #327E22 #22607E
square
#6E227E #7E4022 #327E22 #22607E
split-complementary
#6E227E #607E22 #227E40
monochromatic
#1A081E #44154E #6E227E #982FAE #B84CCF

Accessibility & contrast

On white

9.58
#6E227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6E227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E227E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E227E#FFFFFF#000000##FFFFFF
##6E227E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#2A487C
Tritanopia (blue-blind)
#6E334E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e227e;
/* rgb */ color: rgb(110, 34, 126);
/* oklch */ color: oklch(41.1% 0.158 320.1);
Tailwind
colors: {
  custom: {
    50: '#9b65a4',
    500: '#6e227e',
    950: '#000000',
  },
}
SCSS
$custom: #6e227e;
$custom-light: #9b65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e227e",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 289.565,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41112,
    "c": 0.15773,
    "h": 320.1
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#6E227E
secondary
#5DB14B
accent
#E14762
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E227E

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

Preview Lab → · Contrast checker → · Palette generator →

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