#6C2DC1#6C2DC1

#6C2DC1 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.212 H 296.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6C2DC1
RGBrgb(108, 45, 193)
HSLhsl(266, 62%, 47%)
HSVhsv(266, 77%, 76%)
CMYKcmyk(44%, 76.7%, 0%, 24.3%)
CIE-LABlab(35.82, 56.94, -66.26)
CIE-LCHlch(35.82, 87.37, 310.67°)
OKLaboklab(47.25% 0.0951 -0.1898)
OKLCHoklch(47.25% 0.212 296.6)
XYZxyz(16.7458, 8.9148, 51.2802)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2DC1 #82C12D
analogous
#2D38C1 #6C2DC1 #B62DC1
triadic
#6C2DC1 #C16C2D #2DC16C
tetradic
#6C2DC1 #C12D38 #82C12D #2DC1B6
square
#6C2DC1 #C12D38 #82C12D #2DC1B6
split-complementary
#6C2DC1 #C1B62D #38C12D
monochromatic
#34165E #50218F #6C2DC1 #8C54D7 #AD86E3

Accessibility & contrast

On white

7.55
#6C2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6C2DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2DC1
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2DC1#FFFFFF#000000##FFFFFF
##6C2DC11.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#555576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c2dc1;
/* rgb */ color: rgb(108, 45, 193);
/* oklch */ color: oklch(47.3% 0.212 296.6);
Tailwind
colors: {
  custom: {
    50: '#9e6dd5',
    500: '#6c2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #6c2dc1;
$custom-light: #9e6dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2dc1",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 265.541,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47253,
    "c": 0.21225,
    "h": 296.6
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

primary
#6C2DC1
secondary
#ABCC7E
accent
#E543A0
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6C2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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