#6C2AA2#6C2AA2

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

Color values

HEX#6C2AA2
RGBrgb(108, 42, 162)
HSLhsl(273, 59%, 40%)
HSVhsv(273, 74%, 64%)
CMYKcmyk(33.3%, 74.1%, 0%, 36.5%)
CIE-LABlab(32.82, 50.67, -52.71)
CIE-LCHlch(32.82, 73.11, 313.87°)
OKLaboklab(44.35% 0.1051 -0.1499)
OKLCHoklch(44.35% 0.183 305)
XYZxyz(13.5324, 7.4528, 34.9010)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2AA2 #60A22A
analogous
#302AA2 #6C2AA2 #A22A9C
triadic
#6C2AA2 #A26C2A #2AA26C
tetradic
#6C2AA2 #A2302A #60A22A #2A9CA2
square
#6C2AA2 #A2302A #60A22A #2A9CA2
split-complementary
#6C2AA2 #9CA22A #2AA230
monochromatic
#2B1141 #4C1D71 #6C2AA2 #8C3DCD #A96DD9

Accessibility & contrast

On white

8.43
#6C2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6C2AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2AA2
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2AA2#FFFFFF#000000##FFFFFF
##6C2AA21.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c2aa2;
/* rgb */ color: rgb(108, 42, 162);
/* oklch */ color: oklch(44.4% 0.183 305.0);
Tailwind
colors: {
  custom: {
    50: '#9b6abe',
    500: '#6c2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #6c2aa2;
$custom-light: #9b6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2aa2",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 273,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.4435,
    "c": 0.18309,
    "h": 305
  },
  "luminance": 0.07453
}

Semantic roles & 50–950 ramp

primary
#6C2AA2
secondary
#8FC068
accent
#E2468C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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