#6C299B#6C299B

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

Color values

HEX#6C299B
RGBrgb(108, 41, 155)
HSLhsl(275, 58%, 38%)
HSVhsv(275, 74%, 61%)
CMYKcmyk(30.3%, 73.5%, 0%, 39.2%)
CIE-LABlab(32.13, 49.47, -49.59)
CIE-LCHlch(32.13, 70.04, 314.93°)
OKLaboklab(43.69% 0.1073 -0.1408)
OKLCHoklch(43.69% 0.177 307.3)
XYZxyz(12.8924, 7.1407, 31.7031)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C299B #589B29
analogous
#33299B #6C299B #9B2991
triadic
#6C299B #9B6C29 #299B6C
tetradic
#6C299B #9B3329 #589B29 #29919B
square
#6C299B #9B3329 #589B29 #29919B
split-complementary
#6C299B #919B29 #299B33
monochromatic
#290F3A #4A1C6B #6C299B #8D37CA #A967D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C299B#FFFFFF#000000##FFFFFF
##6C299B1.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)
#00499E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#64445F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c299b;
/* rgb */ color: rgb(108, 41, 155);
/* oklch */ color: oklch(43.7% 0.177 307.3);
Tailwind
colors: {
  custom: {
    50: '#9b69b9',
    500: '#6c299b',
    950: '#000000',
  },
}
SCSS
$custom: #6c299b;
$custom-light: #9b69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c299b",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 275.263,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43692,
    "c": 0.17702,
    "h": 307.3
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#6C299B
secondary
#88BD63
accent
#E14686
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C299B

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

Preview Lab → · Contrast checker → · Palette generator →

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