#6C2CA5#6C2CA5

#6C2CA5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.184 H 303.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#6C2CA5
RGBrgb(108, 44, 165)
HSLhsl(272, 58%, 41%)
HSVhsv(272, 73%, 65%)
CMYKcmyk(34.5%, 73.3%, 0%, 35.3%)
CIE-LABlab(33.36, 50.50, -53.63)
CIE-LCHlch(33.36, 73.66, 313.28°)
OKLaboklab(44.81% 0.1025 -0.1527)
OKLCHoklch(44.81% 0.184 303.9)
XYZxyz(13.8750, 7.7062, 36.3465)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2CA5 #65A52C
analogous
#302CA5 #6C2CA5 #A52CA1
triadic
#6C2CA5 #A56C2C #2CA56C
tetradic
#6C2CA5 #A5302C #65A52C #2CA1A5
square
#6C2CA5 #A5302C #65A52C #2CA1A5
split-complementary
#6C2CA5 #A1A52C #2CA530
monochromatic
#2D1244 #4C1F75 #6C2CA5 #8B42CD #A972D9

Accessibility & contrast

On white

8.26
#6C2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6C2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2CA5
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2CA5#FFFFFF#000000##FFFFFF
##6C2CA51.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#614966
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c2ca5;
/* rgb */ color: rgb(108, 44, 165);
/* oklch */ color: oklch(44.8% 0.184 303.9);
Tailwind
colors: {
  custom: {
    50: '#9b6bc1',
    500: '#6c2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ca5;
$custom-light: #9b6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ca5",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 271.736,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4481,
    "c": 0.18389,
    "h": 303.9
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#6C2CA5
secondary
#94C16C
accent
#E1478F
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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