#6E2299#6E2299

#6E2299 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.184 H 309.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6E2299
RGBrgb(110, 34, 153)
HSLhsl(278, 64%, 37%)
HSVhsv(278, 78%, 60%)
CMYKcmyk(28.1%, 77.8%, 0%, 40%)
CIE-LABlab(31.25, 52.29, -49.77)
CIE-LCHlch(31.25, 72.19, 316.41°)
OKLaboklab(43.09% 0.1172 -0.1412)
OKLCHoklch(43.09% 0.184 309.7)
XYZxyz(12.7511, 6.7592, 30.7638)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2299 #4D9922
analogous
#332299 #6E2299 #992289
triadic
#6E2299 #996E22 #22996E
tetradic
#6E2299 #993322 #4D9922 #228999
square
#6E2299 #993322 #4D9922 #228999
split-complementary
#6E2299 #899922 #229933
monochromatic
#260C35 #4A1767 #6E2299 #922DCB #AC5BDB

Accessibility & contrast

On white

8.93
#6E2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2299
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2299#FFFFFF#000000##FFFFFF
##6E22991.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#683F5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e2299;
/* rgb */ color: rgb(110, 34, 153);
/* oklch */ color: oklch(43.1% 0.184 309.7);
Tailwind
colors: {
  custom: {
    50: '#9c66b8',
    500: '#6e2299',
    950: '#000000',
  },
}
SCSS
$custom: #6e2299;
$custom-light: #9c66b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2299",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 278.319,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43088,
    "c": 0.18351,
    "h": 309.7
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#6E2299
secondary
#7DBF58
accent
#E7417D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2299

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

Preview Lab → · Contrast checker → · Palette generator →

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