#6C2CA1#6C2CA1

#6C2CA1 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.180 H 305.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6C2CA1
RGBrgb(108, 44, 161)
HSLhsl(273, 57%, 40%)
HSVhsv(273, 73%, 63%)
CMYKcmyk(32.9%, 72.7%, 0%, 36.9%)
CIE-LABlab(33.06, 49.54, -51.72)
CIE-LCHlch(33.06, 71.61, 313.77°)
OKLaboklab(44.5% 0.1032 -0.147)
OKLCHoklch(44.5% 0.18 305.1)
XYZxyz(13.5166, 7.5628, 34.4590)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2CA1 #61A12C
analogous
#322CA1 #6C2CA1 #A12C9B
triadic
#6C2CA1 #A16C2C #2CA16C
tetradic
#6C2CA1 #A1322C #61A12C #2C9BA1
square
#6C2CA1 #A1322C #61A12C #2C9BA1
split-complementary
#6C2CA1 #9BA12C #2CA132
monochromatic
#2C1241 #4C1F71 #6C2CA1 #8C40CB #A970D8

Accessibility & contrast

On white

8.36
#6C2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6C2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2CA1
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2CA1#FFFFFF#000000##FFFFFF
##6C2CA11.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c2ca1;
/* rgb */ color: rgb(108, 44, 161);
/* oklch */ color: oklch(44.5% 0.180 305.1);
Tailwind
colors: {
  custom: {
    50: '#9b6bbe',
    500: '#6c2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ca1;
$custom-light: #9b6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ca1",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 272.821,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44495,
    "c": 0.17966,
    "h": 305.1
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#6C2CA1
secondary
#90BF6A
accent
#E0478D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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