#6C2BB4#6C2BB4

#6C2BB4 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.201 H 299.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6C2BB4
RGBrgb(108, 43, 180)
HSLhsl(268, 61%, 44%)
HSVhsv(268, 76%, 71%)
CMYKcmyk(40%, 76.1%, 0%, 29.4%)
CIE-LABlab(34.42, 54.58, -60.88)
CIE-LCHlch(34.42, 81.76, 311.88°)
OKLaboklab(45.93% 0.1001 -0.174)
OKLCHoklch(45.93% 0.201 299.9)
XYZxyz(15.2844, 8.2110, 43.9508)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2BB4 #73B42B
analogous
#2B2EB4 #6C2BB4 #B02BB4
triadic
#6C2BB4 #B46C2B #2BB46C
tetradic
#6C2BB4 #B42B2E #73B42B #2BB4B0
square
#6C2BB4 #B42B2E #73B42B #2BB4B0
split-complementary
#6C2BB4 #B4B02B #2EB42B
monochromatic
#311351 #4E1F83 #6C2BB4 #8B49D3 #AA7ADF

Accessibility & contrast

On white

7.95
#6C2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6C2BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2BB4
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2BB4#FFFFFF#000000##FFFFFF
##6C2BB41.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#5B4F6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c2bb4;
/* rgb */ color: rgb(108, 43, 180);
/* oklch */ color: oklch(45.9% 0.201 299.9);
Tailwind
colors: {
  custom: {
    50: '#9d6bcb',
    500: '#6c2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #6c2bb4;
$custom-light: #9d6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2bb4",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 268.467,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45931,
    "c": 0.20072,
    "h": 299.9
  },
  "luminance": 0.08211
}

Semantic roles & 50–950 ramp

primary
#6C2BB4
secondary
#A0C773
accent
#E54398
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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