#6C2CB8#6C2CB8

#6C2CB8 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.4% C 0.204 H 298.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6C2CB8
RGBrgb(108, 44, 184)
HSLhsl(267, 61%, 45%)
HSVhsv(267, 76%, 72%)
CMYKcmyk(41.3%, 76.1%, 0%, 27.8%)
CIE-LABlab(34.90, 55.13, -62.46)
CIE-LCHlch(34.90, 83.31, 311.43°)
OKLaboklab(46.37% 0.0982 -0.1786)
OKLCHoklch(46.37% 0.204 298.8)
XYZxyz(15.7345, 8.4500, 46.1401)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2CB8 #78B82C
analogous
#2C32B8 #6C2CB8 #B22CB8
triadic
#6C2CB8 #B86C2C #2CB86C
tetradic
#6C2CB8 #B82C32 #78B82C #2CB8B2
square
#6C2CB8 #B82C32 #78B82C #2CB8B2
split-complementary
#6C2CB8 #B8B22C #32B82C
monochromatic
#321455 #4F2087 #6C2CB8 #8B4DD4 #AB7EE0

Accessibility & contrast

On white

7.81
#6C2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6C2CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2CB8
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2CB8#FFFFFF#000000##FFFFFF
##6C2CB81.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#595171
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c2cb8;
/* rgb */ color: rgb(108, 44, 184);
/* oklch */ color: oklch(46.4% 0.204 298.8);
Tailwind
colors: {
  custom: {
    50: '#9d6cce',
    500: '#6c2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #6c2cb8;
$custom-light: #9d6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2cb8",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 267.429,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46374,
    "c": 0.20384,
    "h": 298.8
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#6C2CB8
secondary
#A3C977
accent
#E5439B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6C2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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