#6C2CB4#6C2CB4

#6C2CB4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.200 H 299.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6C2CB4
RGBrgb(108, 44, 180)
HSLhsl(268, 61%, 44%)
HSVhsv(268, 76%, 71%)
CMYKcmyk(40%, 75.6%, 0%, 29.4%)
CIE-LABlab(34.57, 54.15, -60.63)
CIE-LCHlch(34.57, 81.29, 311.77°)
OKLaboklab(46.04% 0.0992 -0.1732)
OKLCHoklch(46.04% 0.2 299.8)
XYZxyz(15.3212, 8.2846, 43.9631)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2CB4 #74B42C
analogous
#2C30B4 #6C2CB4 #B02CB4
triadic
#6C2CB4 #B46C2C #2CB46C
tetradic
#6C2CB4 #B42C30 #74B42C #2CB4B0
square
#6C2CB4 #B42C30 #74B42C #2CB4B0
split-complementary
#6C2CB4 #B4B02C #30B42C
monochromatic
#311452 #4E2083 #6C2CB4 #8B4AD3 #AA7CDF

Accessibility & contrast

On white

7.90
#6C2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6C2CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2CB4
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2CB4#FFFFFF#000000##FFFFFF
##6C2CB41.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.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: #6c2cb4;
/* rgb */ color: rgb(108, 44, 180);
/* oklch */ color: oklch(46.0% 0.200 299.8);
Tailwind
colors: {
  custom: {
    50: '#9d6ccb',
    500: '#6c2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #6c2cb4;
$custom-light: #9d6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2cb4",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 268.235,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46036,
    "c": 0.19966,
    "h": 299.8
  },
  "luminance": 0.08285
}

Semantic roles & 50–950 ramp

primary
#6C2CB4
secondary
#A0C775
accent
#E44499
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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