#6E228F#6E228F

#6E228F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.174 H 313.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6E228F
RGBrgb(110, 34, 143)
HSLhsl(282, 62%, 35%)
HSVhsv(282, 76%, 56%)
CMYKcmyk(23.1%, 76.2%, 0%, 43.9%)
CIE-LABlab(30.50, 50.11, -44.84)
CIE-LCHlch(30.50, 67.24, 318.17°)
OKLaboklab(42.32% 0.1191 -0.1267)
OKLCHoklch(42.32% 0.174 313.2)
XYZxyz(11.9595, 6.4426, 26.5948)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E228F #438F22
analogous
#38228F #6E228F #8F227A
triadic
#6E228F #8F6E22 #228F6E
tetradic
#6E228F #8F3822 #438F22 #227A8F
square
#6E228F #8F3822 #438F22 #227A8F
split-complementary
#6E228F #7A8F22 #228F38
monochromatic
#220A2C #48165E #6E228F #942EC0 #AF55D7

Accessibility & contrast

On white

9.18
#6E228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6E228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E228F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E228F#FFFFFF#000000##FFFFFF
##6E228F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#17498D
Tritanopia (blue-blind)
#6A3B57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e228f;
/* rgb */ color: rgb(110, 34, 143);
/* oklch */ color: oklch(42.3% 0.174 313.2);
Tailwind
colors: {
  custom: {
    50: '#9c65b0',
    500: '#6e228f',
    950: '#000000',
  },
}
SCSS
$custom: #6e228f;
$custom-light: #9c65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e228f",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 281.835,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42323,
    "c": 0.17388,
    "h": 313.2
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#6E228F
secondary
#72BA52
accent
#E54374
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E228F

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

Preview Lab → · Contrast checker → · Palette generator →

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