#6E228D#6E228D

#6E228D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.172 H 314.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#6E228D
RGBrgb(110, 34, 141)
HSLhsl(283, 61%, 34%)
HSVhsv(283, 76%, 55%)
CMYKcmyk(22%, 75.9%, 0%, 44.7%)
CIE-LABlab(30.36, 49.68, -43.84)
CIE-LCHlch(30.36, 66.26, 318.57°)
OKLaboklab(42.18% 0.1194 -0.1238)
OKLCHoklch(42.18% 0.172 314)
XYZxyz(11.8093, 6.3825, 25.8040)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E228D #418D22
analogous
#39228D #6E228D #8D2277
triadic
#6E228D #8D6E22 #228D6E
tetradic
#6E228D #8D3922 #418D22 #22778D
square
#6E228D #8D3922 #418D22 #22778D
split-complementary
#6E228D #778D22 #228D39
monochromatic
#210A2A #48165C #6E228D #942EBE #B054D6

Accessibility & contrast

On white

9.23
#6E228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6E228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E228D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E228D#FFFFFF#000000##FFFFFF
##6E228D1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#1A498B
Tritanopia (blue-blind)
#6B3A56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e228d;
/* rgb */ color: rgb(110, 34, 141);
/* oklch */ color: oklch(42.2% 0.172 314.0);
Tailwind
colors: {
  custom: {
    50: '#9b65af',
    500: '#6e228d',
    950: '#000000',
  },
}
SCSS
$custom: #6e228d;
$custom-light: #9b65af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e228d",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 282.617,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.17196,
    "h": 314
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#6E228D
secondary
#70B951
accent
#E44472
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E228D

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

Preview Lab → · Contrast checker → · Palette generator →

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