#6C3699#6C3699

#6C3699 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.158 H 306.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6C3699
RGBrgb(108, 54, 153)
HSLhsl(273, 48%, 41%)
HSVhsv(273, 65%, 60%)
CMYKcmyk(29.4%, 64.7%, 0%, 40%)
CIE-LABlab(34.24, 42.70, -44.94)
CIE-LCHlch(34.24, 61.99, 313.53°)
OKLaboklab(45.16% 0.0929 -0.1272)
OKLCHoklch(45.16% 0.158 306.2)
XYZxyz(13.2520, 8.1265, 31.0013)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3699 #639936
analogous
#3A3699 #6C3699 #993694
triadic
#6C3699 #996C36 #36996C
tetradic
#6C3699 #993A36 #639936 #369499
square
#6C3699 #993A36 #639936 #369499
split-complementary
#6C3699 #949936 #36993A
monochromatic
#2C163F #4C266C #6C3699 #8B4CC0 #A97AD0

Accessibility & contrast

On white

8.00
#6C3699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6C3699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3699
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3699#FFFFFF#000000##FFFFFF
##6C36991.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#644B62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c3699;
/* rgb */ color: rgb(108, 54, 153);
/* oklch */ color: oklch(45.2% 0.158 306.2);
Tailwind
colors: {
  custom: {
    50: '#9a70b8',
    500: '#6c3699',
    950: '#000000',
  },
}
SCSS
$custom: #6c3699;
$custom-light: #9a70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3699",
  "rgb": {
    "r": 108,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 272.727,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45164,
    "c": 0.15753,
    "h": 306.2
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

primary
#6C3699
secondary
#92B972
accent
#D7508E
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6C3699

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

Preview Lab → · Contrast checker → · Palette generator →

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