#6C2EBB#6C2EBB

#6C2EBB is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.205 H 297.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#6C2EBB
RGBrgb(108, 46, 187)
HSLhsl(266, 61%, 46%)
HSVhsv(266, 75%, 73%)
CMYKcmyk(42.2%, 75.4%, 0%, 26.7%)
CIE-LABlab(35.46, 55.01, -63.32)
CIE-LCHlch(35.46, 83.88, 310.98°)
OKLaboklab(46.84% 0.0958 -0.1812)
OKLCHoklch(46.84% 0.205 297.9)
XYZxyz(16.1287, 8.7297, 47.8393)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2EBB #7DBB2E
analogous
#2E36BB #6C2EBB #B22EBB
triadic
#6C2EBB #BB6C2E #2EBB6C
tetradic
#6C2EBB #BB2E36 #7DBB2E #2EBBB2
square
#6C2EBB #BB2E36 #7DBB2E #2EBBB2
split-complementary
#6C2EBB #BBB22E #36BB2E
monochromatic
#331659 #50228A #6C2EBB #8B52D4 #AC83E0

Accessibility & contrast

On white

7.65
#6C2EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6C2EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2EBB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2EBB#FFFFFF#000000##FFFFFF
##6C2EBB1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#585373
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c2ebb;
/* rgb */ color: rgb(108, 46, 187);
/* oklch */ color: oklch(46.8% 0.205 297.9);
Tailwind
colors: {
  custom: {
    50: '#9d6dd0',
    500: '#6c2ebb',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ebb;
$custom-light: #9d6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ebb",
  "rgb": {
    "r": 108,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 266.383,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46842,
    "c": 0.20492,
    "h": 297.9
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#6C2EBB
secondary
#A7CA7B
accent
#E4449E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6C2EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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