#6C3299#6C3299

#6C3299 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.6% C 0.163 H 306.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#6C3299
RGBrgb(108, 50, 153)
HSLhsl(274, 51%, 40%)
HSVhsv(274, 67%, 60%)
CMYKcmyk(29.4%, 67.3%, 0%, 40%)
CIE-LABlab(33.50, 44.75, -46.15)
CIE-LCHlch(33.50, 64.28, 314.12°)
OKLaboklab(44.63% 0.0977 -0.1307)
OKLCHoklch(44.63% 0.163 306.8)
XYZxyz(13.0735, 7.7694, 30.9417)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3299 #5F9932
analogous
#383299 #6C3299 #993293
triadic
#6C3299 #996C32 #32996C
tetradic
#6C3299 #993832 #5F9932 #329399
square
#6C3299 #993832 #5F9932 #329399
split-complementary
#6C3299 #939932 #329938
monochromatic
#2B143D #4B236B #6C3299 #8C46C2 #A974D2

Accessibility & contrast

On white

8.22
#6C3299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6C3299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3299
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3299#FFFFFF#000000##FFFFFF
##6C32991.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#194F97
Tritanopia (blue-blind)
#654861
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6c3299;
/* rgb */ color: rgb(108, 50, 153);
/* oklch */ color: oklch(44.6% 0.163 306.8);
Tailwind
colors: {
  custom: {
    50: '#9a6eb8',
    500: '#6c3299',
    950: '#000000',
  },
}
SCSS
$custom: #6c3299;
$custom-light: #9a6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3299",
  "rgb": {
    "r": 108,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 273.786,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44626,
    "c": 0.16321,
    "h": 306.8
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#6C3299
secondary
#8FBA6D
accent
#DA4E8B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6C3299

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

Preview Lab → · Contrast checker → · Palette generator →

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