#6E2899#6E2899

#6E2899 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.177 H 309.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#6E2899
RGBrgb(110, 40, 153)
HSLhsl(277, 59%, 38%)
HSVhsv(277, 74%, 60%)
CMYKcmyk(28.1%, 73.9%, 0%, 40%)
CIE-LABlab(32.11, 49.85, -48.38)
CIE-LCHlch(32.11, 69.47, 315.85°)
OKLaboklab(43.69% 0.1115 -0.1371)
OKLCHoklch(43.69% 0.177 309.1)
XYZxyz(12.9378, 7.1327, 30.8260)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2899 #539928
analogous
#352899 #6E2899 #99288B
triadic
#6E2899 #996E28 #28996E
tetradic
#6E2899 #993528 #539928 #288B99
square
#6E2899 #993528 #539928 #288B99
split-complementary
#6E2899 #8B9928 #289935
monochromatic
#280F38 #4B1B68 #6E2899 #9135CA #AB65D7

Accessibility & contrast

On white

8.65
#6E2899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6E2899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2899
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2899#FFFFFF#000000##FFFFFF
##6E28991.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#0A4C97
Tritanopia (blue-blind)
#68425E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e2899;
/* rgb */ color: rgb(110, 40, 153);
/* oklch */ color: oklch(43.7% 0.177 309.1);
Tailwind
colors: {
  custom: {
    50: '#9c69b8',
    500: '#6e2899',
    950: '#000000',
  },
}
SCSS
$custom: #6e2899;
$custom-light: #9c69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2899",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 277.168,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43692,
    "c": 0.17674,
    "h": 309.1
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#6E2899
secondary
#83BD60
accent
#E24681
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2899

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

Preview Lab → · Contrast checker → · Palette generator →

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