#6C299F#6C299F

#6C299F is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.181 H 306.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6C299F
RGBrgb(108, 41, 159)
HSLhsl(274, 59%, 39%)
HSVhsv(274, 74%, 62%)
CMYKcmyk(32.1%, 74.2%, 0%, 37.6%)
CIE-LABlab(32.43, 50.40, -51.52)
CIE-LCHlch(32.43, 72.07, 314.37°)
OKLaboklab(44% 0.1066 -0.1464)
OKLCHoklch(44% 0.181 306.1)
XYZxyz(13.2339, 7.2773, 33.5017)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C299F #5C9F29
analogous
#31299F #6C299F #9F2997
triadic
#6C299F #9F6C29 #299F6C
tetradic
#6C299F #9F3129 #5C9F29 #29979F
square
#6C299F #9F3129 #5C9F29 #29979F
split-complementary
#6C299F #979F29 #299F31
monochromatic
#2A103E #4B1C6E #6C299F #8D39CC #A96AD9

Accessibility & contrast

On white

8.55
#6C299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6C299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C299F
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C299F#FFFFFF#000000##FFFFFF
##6C299F1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#634562
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c299f;
/* rgb */ color: rgb(108, 41, 159);
/* oklch */ color: oklch(44.0% 0.181 306.1);
Tailwind
colors: {
  custom: {
    50: '#9b69bc',
    500: '#6c299f',
    950: '#000000',
  },
}
SCSS
$custom: #6c299f;
$custom-light: #9b69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c299f",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 274.068,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44004,
    "c": 0.18115,
    "h": 306.1
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#6C299F
secondary
#8CBF65
accent
#E24689
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C299F

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

Preview Lab → · Contrast checker → · Palette generator →

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