#6C2DA0#6C2DA0

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

Color values

HEX#6C2DA0
RGBrgb(108, 45, 160)
HSLhsl(273, 56%, 40%)
HSVhsv(273, 72%, 63%)
CMYKcmyk(32.5%, 71.9%, 0%, 37.3%)
CIE-LABlab(33.14, 48.84, -50.97)
CIE-LCHlch(33.14, 70.59, 313.78°)
OKLaboklab(44.53% 0.1024 -0.1449)
OKLCHoklch(44.53% 0.177 305.3)
XYZxyz(13.4665, 7.6031, 34.0090)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2DA0 #61A02D
analogous
#332DA0 #6C2DA0 #A02D9A
triadic
#6C2DA0 #A06C2D #2DA06C
tetradic
#6C2DA0 #A0332D #61A02D #2D9AA0
square
#6C2DA0 #A0332D #61A02D #2D9AA0
split-complementary
#6C2DA0 #9AA02D #2DA033
monochromatic
#2C1240 #4C2070 #6C2DA0 #8C41C9 #A970D7

Accessibility & contrast

On white

8.33
#6C2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6C2DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2DA0
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2DA0#FFFFFF#000000##FFFFFF
##6C2DA01.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#624863
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c2da0;
/* rgb */ color: rgb(108, 45, 160);
/* oklch */ color: oklch(44.5% 0.177 305.3);
Tailwind
colors: {
  custom: {
    50: '#9b6cbd',
    500: '#6c2da0',
    950: '#000000',
  },
}
SCSS
$custom: #6c2da0;
$custom-light: #9b6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2da0",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 272.87,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44533,
    "c": 0.17739,
    "h": 305.3
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#6C2DA0
secondary
#90BE6B
accent
#DF488D
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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