#6C2CA2#6C2CA2

#6C2CA2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.181 H 304.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#6C2CA2
RGBrgb(108, 44, 162)
HSLhsl(273, 57%, 40%)
HSVhsv(273, 73%, 64%)
CMYKcmyk(33.3%, 72.8%, 0%, 36.5%)
CIE-LABlab(33.13, 49.78, -52.20)
CIE-LCHlch(33.13, 72.13, 313.64°)
OKLaboklab(44.57% 0.1031 -0.1484)
OKLCHoklch(44.57% 0.181 304.8)
XYZxyz(13.6051, 7.5982, 34.9253)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2CA2 #62A22C
analogous
#312CA2 #6C2CA2 #A22C9D
triadic
#6C2CA2 #A26C2C #2CA26C
tetradic
#6C2CA2 #A2312C #62A22C #2C9DA2
square
#6C2CA2 #A2312C #62A22C #2C9DA2
split-complementary
#6C2CA2 #9DA22C #2CA231
monochromatic
#2C1242 #4C1F72 #6C2CA2 #8B40CB #A970D8

Accessibility & contrast

On white

8.33
#6C2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6C2CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2CA2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2CA2#FFFFFF#000000##FFFFFF
##6C2CA21.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#624864
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c2ca2;
/* rgb */ color: rgb(108, 44, 162);
/* oklch */ color: oklch(44.6% 0.181 304.8);
Tailwind
colors: {
  custom: {
    50: '#9b6bbe',
    500: '#6c2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ca2;
$custom-light: #9b6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ca2",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 272.542,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44573,
    "c": 0.18072,
    "h": 304.8
  },
  "luminance": 0.07598
}

Semantic roles & 50–950 ramp

primary
#6C2CA2
secondary
#91BF6A
accent
#E1478D
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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