#6C2CA4#6C2CA4

#6C2CA4 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.183 H 304.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6C2CA4
RGBrgb(108, 44, 164)
HSLhsl(272, 58%, 41%)
HSVhsv(272, 73%, 64%)
CMYKcmyk(34.1%, 73.2%, 0%, 35.7%)
CIE-LABlab(33.29, 50.26, -53.15)
CIE-LCHlch(33.29, 73.15, 313.40°)
OKLaboklab(44.73% 0.1027 -0.1513)
OKLCHoklch(44.73% 0.183 304.2)
XYZxyz(13.7843, 7.6699, 35.8690)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2CA4 #64A42C
analogous
#302CA4 #6C2CA4 #A42CA0
triadic
#6C2CA4 #A46C2C #2CA46C
tetradic
#6C2CA4 #A4302C #64A42C #2CA0A4
square
#6C2CA4 #A4302C #64A42C #2CA0A4
split-complementary
#6C2CA4 #A0A42C #2CA430
monochromatic
#2C1243 #4C1F74 #6C2CA4 #8B41CC #A971D9

Accessibility & contrast

On white

8.29
#6C2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6C2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2CA4
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2CA4#FFFFFF#000000##FFFFFF
##6C2CA41.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#614965
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c2ca4;
/* rgb */ color: rgb(108, 44, 164);
/* oklch */ color: oklch(44.7% 0.183 304.2);
Tailwind
colors: {
  custom: {
    50: '#9b6bc0',
    500: '#6c2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ca4;
$custom-light: #9b6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ca4",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 272,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44731,
    "c": 0.18284,
    "h": 304.2
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#6C2CA4
secondary
#93C06B
accent
#E1478F
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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