#6C2DA4#6C2DA4

#6C2DA4 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.182 H 304.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#6C2DA4
RGBrgb(108, 45, 164)
HSLhsl(272, 57%, 41%)
HSVhsv(272, 73%, 64%)
CMYKcmyk(34.1%, 72.6%, 0%, 35.7%)
CIE-LABlab(33.45, 49.80, -52.89)
CIE-LCHlch(33.45, 72.65, 313.28°)
OKLaboklab(44.85% 0.1017 -0.1505)
OKLCHoklch(44.85% 0.182 304)
XYZxyz(13.8220, 7.7453, 35.8816)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2DA4 #65A42D
analogous
#302DA4 #6C2DA4 #A42DA0
triadic
#6C2DA4 #A46C2D #2DA46C
tetradic
#6C2DA4 #A4302D #65A42D #2DA0A4
square
#6C2DA4 #A4302D #65A42D #2DA0A4
split-complementary
#6C2DA4 #A0A42D #2DA430
monochromatic
#2D1344 #4C2074 #6C2DA4 #8B43CB #A973D9

Accessibility & contrast

On white

8.24
#6C2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6C2DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2DA4
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2DA4#FFFFFF#000000##FFFFFF
##6C2DA41.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#614966
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6c2da4;
/* rgb */ color: rgb(108, 45, 164);
/* oklch */ color: oklch(44.8% 0.182 304.0);
Tailwind
colors: {
  custom: {
    50: '#9b6cc0',
    500: '#6c2da4',
    950: '#000000',
  },
}
SCSS
$custom: #6c2da4;
$custom-light: #9b6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2da4",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 271.765,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44845,
    "c": 0.18163,
    "h": 304
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#6C2DA4
secondary
#94C06D
accent
#E0488F
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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