#6E227A#6E227A

#6E227A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.154 H 321.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#6E227A
RGBrgb(110, 34, 122)
HSLhsl(292, 56%, 31%)
HSVhsv(292, 72%, 48%)
CMYKcmyk(9.8%, 72.1%, 0%, 52.2%)
CIE-LABlab(29.07, 45.76, -34.03)
CIE-LCHlch(29.07, 57.03, 323.36°)
OKLaboklab(40.85% 0.1212 -0.095)
OKLCHoklch(40.85% 0.154 321.9)
XYZxyz(10.5149, 5.8648, 18.9867)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E227A #2E7A22
analogous
#42227A #6E227A #7A225A
triadic
#6E227A #7A6E22 #227A6E
tetradic
#6E227A #7A4222 #2E7A22 #225A7A
square
#6E227A #7A4222 #2E7A22 #225A7A
split-complementary
#6E227A #5A7A22 #227A42
monochromatic
#18071A #43154A #6E227A #992FAA #BB4ACD

Accessibility & contrast

On white

9.66
#6E227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6E227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E227A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E227A#FFFFFF#000000##FFFFFF
##6E227A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023F7D
Deuteranopia (green-blind)
#2D4778
Tritanopia (blue-blind)
#6F324B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e227a;
/* rgb */ color: rgb(110, 34, 122);
/* oklch */ color: oklch(40.8% 0.154 321.9);
Tailwind
colors: {
  custom: {
    50: '#9b65a1',
    500: '#6e227a',
    950: '#000000',
  },
}
SCSS
$custom: #6e227a;
$custom-light: #9b65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e227a",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 291.818,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40845,
    "c": 0.15401,
    "h": 321.9
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#6E227A
secondary
#58AD4B
accent
#E0485D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6E227A

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

Preview Lab → · Contrast checker → · Palette generator →

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