#6E227D#6E227D

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

Color values

HEX#6E227D
RGBrgb(110, 34, 125)
HSLhsl(290, 57%, 31%)
HSVhsv(290, 73%, 49%)
CMYKcmyk(12%, 72.8%, 0%, 51%)
CIE-LABlab(29.26, 46.36, -35.62)
CIE-LCHlch(29.26, 58.46, 322.47°)
OKLaboklab(41.05% 0.1211 -0.0997)
OKLCHoklch(41.05% 0.157 320.5)
XYZxyz(10.7037, 5.9403, 19.9808)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E227D #317D22
analogous
#40227D #6E227D #7D225E
triadic
#6E227D #7D6E22 #227D6E
tetradic
#6E227D #7D4022 #317D22 #225E7D
square
#6E227D #7D4022 #317D22 #225E7D
split-complementary
#6E227D #5E7D22 #227D40
monochromatic
#19081D #44154D #6E227D #982FAD #B94BCE

Accessibility & contrast

On white

9.60
#6E227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E227D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E227D#FFFFFF#000000##FFFFFF
##6E227D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#2B487B
Tritanopia (blue-blind)
#6F334D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e227d;
/* rgb */ color: rgb(110, 34, 125);
/* oklch */ color: oklch(41.0% 0.157 320.5);
Tailwind
colors: {
  custom: {
    50: '#9b65a3',
    500: '#6e227d',
    950: '#000000',
  },
}
SCSS
$custom: #6e227d;
$custom-light: #9b65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e227d",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 290.11,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.1568,
    "h": 320.5
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#6E227D
secondary
#5CB04B
accent
#E04761
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E227D

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

Preview Lab → · Contrast checker → · Palette generator →

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