#6E2298#6E2298

#6E2298 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.183 H 310.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6E2298
RGBrgb(110, 34, 152)
HSLhsl(279, 63%, 36%)
HSVhsv(279, 78%, 60%)
CMYKcmyk(27.6%, 77.6%, 0%, 40.4%)
CIE-LABlab(31.18, 52.07, -49.28)
CIE-LCHlch(31.18, 71.69, 316.57°)
OKLaboklab(43.01% 0.1174 -0.1398)
OKLCHoklch(43.01% 0.183 310)
XYZxyz(12.6688, 6.7263, 30.3306)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2298 #4C9822
analogous
#332298 #6E2298 #982287
triadic
#6E2298 #986E22 #22986E
tetradic
#6E2298 #983322 #4C9822 #228798
square
#6E2298 #983322 #4C9822 #228798
split-complementary
#6E2298 #879822 #229833
monochromatic
#260C34 #4A1766 #6E2298 #922DCA #AD5ADA

Accessibility & contrast

On white

8.95
#6E2298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6E2298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2298
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2298#FFFFFF#000000##FFFFFF
##6E22981.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#683F5C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2298;
/* rgb */ color: rgb(110, 34, 152);
/* oklch */ color: oklch(43.0% 0.183 310.0);
Tailwind
colors: {
  custom: {
    50: '#9c66b7',
    500: '#6e2298',
    950: '#000000',
  },
}
SCSS
$custom: #6e2298;
$custom-light: #9c66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2298",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 278.644,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4301,
    "c": 0.18254,
    "h": 310
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#6E2298
secondary
#7CBE57
accent
#E6417C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2298

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

Preview Lab → · Contrast checker → · Palette generator →

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