#6D2799#6D2799

#6D2799 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.178 H 308.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6D2799
RGBrgb(109, 39, 153)
HSLhsl(277, 59%, 38%)
HSVhsv(277, 75%, 60%)
CMYKcmyk(28.8%, 74.5%, 0%, 40%)
CIE-LABlab(31.81, 50.07, -48.87)
CIE-LCHlch(31.81, 69.96, 315.70°)
OKLaboklab(43.45% 0.1111 -0.1386)
OKLCHoklch(43.45% 0.178 308.7)
XYZxyz(12.7808, 7.0024, 30.8091)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2799 #539927
analogous
#342799 #6D2799 #99278C
triadic
#6D2799 #996D27 #27996D
tetradic
#6D2799 #993427 #539927 #278C99
square
#6D2799 #993427 #539927 #278C99
split-complementary
#6D2799 #8C9927 #279934
monochromatic
#280E37 #4A1B68 #6D2799 #9033CA #AA63D7

Accessibility & contrast

On white

8.75
#6D2799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6D2799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2799
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2799#FFFFFF#000000##FFFFFF
##6D27991.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#034C97
Tritanopia (blue-blind)
#66425E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d2799;
/* rgb */ color: rgb(109, 39, 153);
/* oklch */ color: oklch(43.5% 0.178 308.7);
Tailwind
colors: {
  custom: {
    50: '#9b68b8',
    500: '#6d2799',
    950: '#000000',
  },
}
SCSS
$custom: #6d2799;
$custom-light: #9b68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2799",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 276.842,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43453,
    "c": 0.17763,
    "h": 308.7
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#6D2799
secondary
#83BD5F
accent
#E34582
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6D2799

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

Preview Lab → · Contrast checker → · Palette generator →

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