#6E227C#6E227C

#6E227C is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.156 H 321.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#6E227C
RGBrgb(110, 34, 124)
HSLhsl(291, 57%, 31%)
HSVhsv(291, 73%, 49%)
CMYKcmyk(11.3%, 72.6%, 0%, 51.4%)
CIE-LABlab(29.20, 46.16, -35.09)
CIE-LCHlch(29.20, 57.99, 322.76°)
OKLaboklab(40.98% 0.1211 -0.0981)
OKLCHoklch(40.98% 0.156 321)
XYZxyz(10.6401, 5.9148, 19.6461)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E227C #307C22
analogous
#41227C #6E227C #7C225D
triadic
#6E227C #7C6E22 #227C6E
tetradic
#6E227C #7C4122 #307C22 #225D7C
square
#6E227C #7C4122 #307C22 #225D7C
split-complementary
#6E227C #5D7C22 #227C41
monochromatic
#19081C #43154C #6E227C #992FAC #B94BCE

Accessibility & contrast

On white

9.62
#6E227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6E227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E227C
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E227C#FFFFFF#000000##FFFFFF
##6E227C1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#2C487A
Tritanopia (blue-blind)
#6F324C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e227c;
/* rgb */ color: rgb(110, 34, 124);
/* oklch */ color: oklch(41.0% 0.156 321.0);
Tailwind
colors: {
  custom: {
    50: '#9b65a2',
    500: '#6e227c',
    950: '#000000',
  },
}
SCSS
$custom: #6e227c;
$custom-light: #9b65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e227c",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 290.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40978,
    "c": 0.15587,
    "h": 321
  },
  "luminance": 0.05914
}

Semantic roles & 50–950 ramp

primary
#6E227C
secondary
#5BAF4B
accent
#E0485F
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E227C

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

Preview Lab → · Contrast checker → · Palette generator →

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