#6E227B#6E227B

#6E227B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.155 H 321.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#6E227B
RGBrgb(110, 34, 123)
HSLhsl(291, 57%, 31%)
HSVhsv(291, 72%, 48%)
CMYKcmyk(10.6%, 72.4%, 0%, 51.8%)
CIE-LABlab(29.13, 45.96, -34.56)
CIE-LCHlch(29.13, 57.51, 323.06°)
OKLaboklab(40.91% 0.1212 -0.0966)
OKLCHoklch(40.91% 0.155 321.4)
XYZxyz(10.5772, 5.8897, 19.3147)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E227B #2F7B22
analogous
#41227B #6E227B #7B225B
triadic
#6E227B #7B6E22 #227B6E
tetradic
#6E227B #7B4122 #2F7B22 #225B7B
square
#6E227B #7B4122 #2F7B22 #225B7B
split-complementary
#6E227B #5B7B22 #227B41
monochromatic
#18071B #43154B #6E227B #992FAB #BA4ACD

Accessibility & contrast

On white

9.64
#6E227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E227B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E227B#FFFFFF#000000##FFFFFF
##6E227B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e227b;
/* rgb */ color: rgb(110, 34, 123);
/* oklch */ color: oklch(40.9% 0.155 321.4);
Tailwind
colors: {
  custom: {
    50: '#9b65a2',
    500: '#6e227b',
    950: '#000000',
  },
}
SCSS
$custom: #6e227b;
$custom-light: #9b65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e227b",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 291.236,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40911,
    "c": 0.15494,
    "h": 321.4
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#6E227B
secondary
#59AE4B
accent
#E0485E
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E227B

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

Preview Lab → · Contrast checker → · Palette generator →

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