#6C2299#6C2299

#6C2299 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.183 H 308.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6C2299
RGBrgb(108, 34, 153)
HSLhsl(277, 64%, 37%)
HSVhsv(277, 78%, 60%)
CMYKcmyk(29.4%, 77.8%, 0%, 40%)
CIE-LABlab(30.95, 51.91, -50.26)
CIE-LCHlch(30.95, 72.26, 315.92°)
OKLaboklab(42.82% 0.1145 -0.1427)
OKLCHoklch(42.82% 0.183 308.7)
XYZxyz(12.5050, 6.6323, 30.7522)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2299 #4F9922
analogous
#312299 #6C2299 #99228B
triadic
#6C2299 #996C22 #22996C
tetradic
#6C2299 #993122 #4F9922 #228B99
square
#6C2299 #993122 #4F9922 #228B99
split-complementary
#6C2299 #8B9922 #229931
monochromatic
#250C35 #491767 #6C2299 #8F2DCB #AA5BDB

Accessibility & contrast

On white

9.03
#6C2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6C2299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2299
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2299#FFFFFF#000000##FFFFFF
##6C22991.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#653F5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c2299;
/* rgb */ color: rgb(108, 34, 153);
/* oklch */ color: oklch(42.8% 0.183 308.7);
Tailwind
colors: {
  custom: {
    50: '#9b66b8',
    500: '#6c2299',
    950: '#000000',
  },
}
SCSS
$custom: #6c2299;
$custom-light: #9b66b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2299",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 277.311,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42817,
    "c": 0.18293,
    "h": 308.7
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#6C2299
secondary
#7FBF58
accent
#E74180
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C2299

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

Preview Lab → · Contrast checker → · Palette generator →

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