#6C2AA5#6C2AA5

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

Color values

HEX#6C2AA5
RGBrgb(108, 42, 165)
HSLhsl(272, 59%, 41%)
HSVhsv(272, 75%, 65%)
CMYKcmyk(34.5%, 74.5%, 0%, 35.3%)
CIE-LABlab(33.05, 51.38, -54.14)
CIE-LCHlch(33.05, 74.64, 313.51°)
OKLaboklab(44.59% 0.1045 -0.1541)
OKLCHoklch(44.59% 0.186 304.1)
XYZxyz(13.8023, 7.5607, 36.3222)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2AA5 #63A52A
analogous
#2E2AA5 #6C2AA5 #A52AA0
triadic
#6C2AA5 #A56C2A #2AA56C
tetradic
#6C2AA5 #A52E2A #63A52A #2AA0A5
square
#6C2AA5 #A52E2A #63A52A #2AA0A5
split-complementary
#6C2AA5 #A0A52A #2AA52E
monochromatic
#2C1143 #4C1E74 #6C2AA5 #8B3ECE #A96FDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C2AA5#FFFFFF#000000##FFFFFF
##6C2AA51.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)
#004CA8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#614865
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c2aa5;
/* rgb */ color: rgb(108, 42, 165);
/* oklch */ color: oklch(44.6% 0.186 304.1);
Tailwind
colors: {
  custom: {
    50: '#9b6ac1',
    500: '#6c2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #6c2aa5;
$custom-light: #9b6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2aa5",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 272.195,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44589,
    "c": 0.18621,
    "h": 304.1
  },
  "luminance": 0.07561
}

Semantic roles & 50–950 ramp

primary
#6C2AA5
secondary
#92C169
accent
#E3458E
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6C2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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