#6C2BAE#6C2BAE

#6C2BAE is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.194 H 301.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6C2BAE
RGBrgb(108, 43, 174)
HSLhsl(270, 60%, 43%)
HSVhsv(270, 75%, 68%)
CMYKcmyk(37.9%, 75.3%, 0%, 31.8%)
CIE-LABlab(33.92, 53.11, -58.11)
CIE-LCHlch(33.92, 78.73, 312.43°)
OKLaboklab(45.43% 0.1016 -0.1658)
OKLCHoklch(45.43% 0.194 301.5)
XYZxyz(14.6863, 7.9718, 40.8012)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2BAE #6DAE2B
analogous
#2B2BAE #6C2BAE #AE2BAE
triadic
#6C2BAE #AE6C2B #2BAE6C
tetradic
#6C2BAE #AE2B2B #6DAE2B #2BAEAE
square
#6C2BAE #AE2B2B #6DAE2B #2BAEAE
split-complementary
#6C2BAE #AEAE2B #2BAE2B
monochromatic
#2F134C #4E1F7D #6C2BAE #8B45D1 #A976DD

Accessibility & contrast

On white

8.09
#6C2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6C2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2BAE
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2BAE#FFFFFF#000000##FFFFFF
##6C2BAE1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#5E4C6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c2bae;
/* rgb */ color: rgb(108, 43, 174);
/* oklch */ color: oklch(45.4% 0.194 301.5);
Tailwind
colors: {
  custom: {
    50: '#9c6bc7',
    500: '#6c2bae',
    950: '#000000',
  },
}
SCSS
$custom: #6c2bae;
$custom-light: #9c6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2bae",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 269.771,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4543,
    "c": 0.19446,
    "h": 301.5
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#6C2BAE
secondary
#9BC570
accent
#E44495
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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