#6C2B9E#6C2B9E

#6C2B9E is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.178 H 306.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6C2B9E
RGBrgb(108, 43, 158)
HSLhsl(274, 57%, 39%)
HSVhsv(274, 73%, 62%)
CMYKcmyk(31.6%, 72.8%, 0%, 38%)
CIE-LABlab(32.67, 49.28, -50.53)
CIE-LCHlch(32.67, 70.58, 314.28°)
OKLaboklab(44.15% 0.1048 -0.1435)
OKLCHoklch(44.15% 0.178 306.1)
XYZxyz(13.2184, 7.3846, 33.0701)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2B9E #5D9E2B
analogous
#332B9E #6C2B9E #9E2B97
triadic
#6C2B9E #9E6C2B #2B9E6C
tetradic
#6C2B9E #9E332B #5D9E2B #2B979E
square
#6C2B9E #9E332B #5D9E2B #2B979E
split-complementary
#6C2B9E #979E2B #2B9E33
monochromatic
#2A113E #4B1E6E #6C2B9E #8C3CCA #A96CD7

Accessibility & contrast

On white

8.48
#6C2B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6C2B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2B9E
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2B9E#FFFFFF#000000##FFFFFF
##6C2B9E1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#634662
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c2b9e;
/* rgb */ color: rgb(108, 43, 158);
/* oklch */ color: oklch(44.1% 0.178 306.1);
Tailwind
colors: {
  custom: {
    50: '#9b6abb',
    500: '#6c2b9e',
    950: '#000000',
  },
}
SCSS
$custom: #6c2b9e;
$custom-light: #9b6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2b9e",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 273.913,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44148,
    "c": 0.17772,
    "h": 306.1
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#6C2B9E
secondary
#8DBE67
accent
#E0478A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C2B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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