#6C2B8E#6C2B8E

#6C2B8E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.161 H 311.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6C2B8E
RGBrgb(108, 43, 142)
HSLhsl(279, 54%, 36%)
HSVhsv(279, 70%, 56%)
CMYKcmyk(23.9%, 69.7%, 0%, 44.3%)
CIE-LABlab(31.51, 45.57, -42.62)
CIE-LCHlch(31.51, 62.39, 316.92°)
OKLaboklab(42.95% 0.1069 -0.1203)
OKLCHoklch(42.95% 0.161 311.6)
XYZxyz(11.9298, 6.8692, 26.2834)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2B8E #4D8E2B
analogous
#3B2B8E #6C2B8E #8E2B7F
triadic
#6C2B8E #8E6C2B #2B8E6C
tetradic
#6C2B8E #8E3B2B #4D8E2B #2B7F8E
square
#6C2B8E #8E3B2B #4D8E2B #2B7F8E
split-complementary
#6C2B8E #7F8E2B #2B8E3B
monochromatic
#250F30 #481D5F #6C2B8E #9039BD #AB63D0

Accessibility & contrast

On white

8.85
#6C2B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6C2B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2B8E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2B8E#FFFFFF#000000##FFFFFF
##6C2B8E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#204B8C
Tritanopia (blue-blind)
#684059
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c2b8e;
/* rgb */ color: rgb(108, 43, 142);
/* oklch */ color: oklch(43.0% 0.161 311.6);
Tailwind
colors: {
  custom: {
    50: '#9a6ab0',
    500: '#6c2b8e',
    950: '#000000',
  },
}
SCSS
$custom: #6c2b8e;
$custom-light: #9a6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2b8e",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 279.394,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42954,
    "c": 0.16096,
    "h": 311.6
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#6C2B8E
secondary
#7DB65F
accent
#DD4B7D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6C2B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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