#6C2099#6C2099

#6C2099 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.185 H 308.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6C2099
RGBrgb(108, 32, 153)
HSLhsl(278, 65%, 36%)
HSVhsv(278, 79%, 60%)
CMYKcmyk(29.4%, 79.1%, 0%, 40%)
CIE-LABlab(30.69, 52.67, -50.69)
CIE-LCHlch(30.69, 73.10, 316.10°)
OKLaboklab(42.63% 0.1162 -0.1439)
OKLCHoklch(42.63% 0.185 308.9)
XYZxyz(12.4494, 6.5213, 30.7337)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2099 #4D9920
analogous
#302099 #6C2099 #99208A
triadic
#6C2099 #996C20 #20996C
tetradic
#6C2099 #993020 #4D9920 #208A99
square
#6C2099 #993020 #4D9920 #208A99
split-complementary
#6C2099 #8A9920 #209930
monochromatic
#250B34 #481566 #6C2099 #902BCC #AB57DC

Accessibility & contrast

On white

9.11
#6C2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6C2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2099
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2099#FFFFFF#000000##FFFFFF
##6C20991.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#653E5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c2099;
/* rgb */ color: rgb(108, 32, 153);
/* oklch */ color: oklch(42.6% 0.185 308.9);
Tailwind
colors: {
  custom: {
    50: '#9b65b8',
    500: '#6c2099',
    950: '#000000',
  },
}
SCSS
$custom: #6c2099;
$custom-light: #9b65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2099",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 277.686,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42632,
    "c": 0.185,
    "h": 308.9
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#6C2099
secondary
#7DC055
accent
#E83F7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C2099

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

Preview Lab → · Contrast checker → · Palette generator →

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