#6E229C#6E229C

#6E229C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.186 H 308.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6E229C
RGBrgb(110, 34, 156)
HSLhsl(277, 64%, 37%)
HSVhsv(277, 78%, 61%)
CMYKcmyk(29.5%, 78.2%, 0%, 38.8%)
CIE-LABlab(31.49, 52.95, -51.22)
CIE-LCHlch(31.49, 73.67, 315.95°)
OKLaboklab(43.33% 0.1166 -0.1454)
OKLCHoklch(43.33% 0.186 308.7)
XYZxyz(13.0019, 6.8596, 32.0851)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E229C #509C22
analogous
#31229C #6E229C #9C228D
triadic
#6E229C #9C6E22 #229C6E
tetradic
#6E229C #9C3122 #509C22 #228D9C
square
#6E229C #9C3122 #509C22 #228D9C
split-complementary
#6E229C #8D9C22 #229C31
monochromatic
#270C38 #4B176A #6E229C #912DCE #AC5DDC

Accessibility & contrast

On white

8.85
#6E229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6E229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E229C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E229C#FFFFFF#000000##FFFFFF
##6E229C1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#67405E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e229c;
/* rgb */ color: rgb(110, 34, 156);
/* oklch */ color: oklch(43.3% 0.186 308.7);
Tailwind
colors: {
  custom: {
    50: '#9c66ba',
    500: '#6e229c',
    950: '#000000',
  },
}
SCSS
$custom: #6e229c;
$custom-light: #9c66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6e229c",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 277.377,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43325,
    "c": 0.1864,
    "h": 308.7
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#6E229C
secondary
#80C05A
accent
#E7417F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E229C

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

Preview Lab → · Contrast checker → · Palette generator →

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