#6E227F#6E227F

#6E227F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.159 H 319.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#6E227F
RGBrgb(110, 34, 127)
HSLhsl(289, 58%, 32%)
HSVhsv(289, 73%, 50%)
CMYKcmyk(13.4%, 73.2%, 0%, 50.2%)
CIE-LABlab(29.39, 46.77, -36.67)
CIE-LCHlch(29.39, 59.43, 321.90°)
OKLaboklab(41.18% 0.1209 -0.1027)
OKLCHoklch(41.18% 0.159 319.7)
XYZxyz(10.8327, 5.9919, 20.6605)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E227F #337F22
analogous
#40227F #6E227F #7F2262
triadic
#6E227F #7F6E22 #227F6E
tetradic
#6E227F #7F4022 #337F22 #22627F
square
#6E227F #7F4022 #337F22 #22627F
split-complementary
#6E227F #627F22 #227F40
monochromatic
#1A081E #44154F #6E227F #982FAF #B74CCF

Accessibility & contrast

On white

9.55
#6E227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6E227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E227F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E227F#FFFFFF#000000##FFFFFF
##6E227F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#6E344E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e227f;
/* rgb */ color: rgb(110, 34, 127);
/* oklch */ color: oklch(41.2% 0.159 319.7);
Tailwind
colors: {
  custom: {
    50: '#9b65a5',
    500: '#6e227f',
    950: '#000000',
  },
}
SCSS
$custom: #6e227f;
$custom-light: #9b65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e227f",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 289.032,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.15867,
    "h": 319.7
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#6E227F
secondary
#5EB24B
accent
#E14763
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E227F

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

Preview Lab → · Contrast checker → · Palette generator →

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