#6C2AA3#6C2AA3

#6C2AA3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.184 H 304.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6C2AA3
RGBrgb(108, 42, 163)
HSLhsl(273, 59%, 40%)
HSVhsv(273, 74%, 64%)
CMYKcmyk(33.7%, 74.2%, 0%, 36.1%)
CIE-LABlab(32.89, 50.91, -53.19)
CIE-LCHlch(32.89, 73.62, 313.75°)
OKLaboklab(44.43% 0.1049 -0.1514)
OKLCHoklch(44.43% 0.184 304.7)
XYZxyz(13.6217, 7.4885, 35.3710)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2AA3 #61A32A
analogous
#2F2AA3 #6C2AA3 #A32A9D
triadic
#6C2AA3 #A36C2A #2AA36C
tetradic
#6C2AA3 #A32F2A #61A32A #2A9DA3
square
#6C2AA3 #A32F2A #61A32A #2A9DA3
split-complementary
#6C2AA3 #9DA32A #2AA32F
monochromatic
#2C1142 #4C1D72 #6C2AA3 #8C3DCD #A96EDA

Accessibility & contrast

On white

8.41
#6C2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6C2AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2AA3
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2AA3#FFFFFF#000000##FFFFFF
##6C2AA31.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#624764
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c2aa3;
/* rgb */ color: rgb(108, 42, 163);
/* oklch */ color: oklch(44.4% 0.184 304.7);
Tailwind
colors: {
  custom: {
    50: '#9b6abf',
    500: '#6c2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #6c2aa3;
$custom-light: #9b6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2aa3",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 272.727,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44429,
    "c": 0.18413,
    "h": 304.7
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#6C2AA3
secondary
#90C068
accent
#E2468D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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