#6E2399#6E2399

#6E2399 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.182 H 309.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#6E2399
RGBrgb(110, 35, 153)
HSLhsl(278, 63%, 37%)
HSVhsv(278, 77%, 60%)
CMYKcmyk(28.1%, 77.1%, 0%, 40%)
CIE-LABlab(31.39, 51.90, -49.55)
CIE-LCHlch(31.39, 71.75, 316.33°)
OKLaboklab(43.18% 0.1163 -0.1405)
OKLCHoklch(43.18% 0.182 309.6)
XYZxyz(12.7801, 6.8172, 30.7734)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2399 #4E9923
analogous
#332399 #6E2399 #992389
triadic
#6E2399 #996E23 #23996E
tetradic
#6E2399 #993323 #4E9923 #238999
square
#6E2399 #993323 #4E9923 #238999
split-complementary
#6E2399 #899923 #239933
monochromatic
#260C35 #4A1867 #6E2399 #922ECB #AC5DDA

Accessibility & contrast

On white

8.89
#6E2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6E2399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2399
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2399#FFFFFF#000000##FFFFFF
##6E23991.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2399;
/* rgb */ color: rgb(110, 35, 153);
/* oklch */ color: oklch(43.2% 0.182 309.6);
Tailwind
colors: {
  custom: {
    50: '#9c66b8',
    500: '#6e2399',
    950: '#000000',
  },
}
SCSS
$custom: #6e2399;
$custom-light: #9c66b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2399",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 278.136,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43183,
    "c": 0.18243,
    "h": 309.6
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#6E2399
secondary
#7EBE59
accent
#E6427E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2399

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

Preview Lab → · Contrast checker → · Palette generator →

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