#6C2DA2#6C2DA2

#6C2DA2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.180 H 304.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#6C2DA2
RGBrgb(108, 45, 162)
HSLhsl(272, 57%, 41%)
HSVhsv(272, 72%, 64%)
CMYKcmyk(33.3%, 72.2%, 0%, 36.5%)
CIE-LABlab(33.29, 49.32, -51.93)
CIE-LCHlch(33.29, 71.62, 313.52°)
OKLaboklab(44.69% 0.102 -0.1477)
OKLCHoklch(44.69% 0.18 304.6)
XYZxyz(13.6428, 7.6736, 34.9378)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2DA2 #63A22D
analogous
#322DA2 #6C2DA2 #A22D9D
triadic
#6C2DA2 #A26C2D #2DA26C
tetradic
#6C2DA2 #A2322D #63A22D #2D9DA2
square
#6C2DA2 #A2322D #63A22D #2D9DA2
split-complementary
#6C2DA2 #9DA22D #2DA232
monochromatic
#2C1242 #4C2072 #6C2DA2 #8B42CA #A972D8

Accessibility & contrast

On white

8.28
#6C2DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6C2DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2DA2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2DA2#FFFFFF#000000##FFFFFF
##6C2DA21.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#624964
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c2da2;
/* rgb */ color: rgb(108, 45, 162);
/* oklch */ color: oklch(44.7% 0.180 304.6);
Tailwind
colors: {
  custom: {
    50: '#9b6cbe',
    500: '#6c2da2',
    950: '#000000',
  },
}
SCSS
$custom: #6c2da2;
$custom-light: #9b6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2da2",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 272.308,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44688,
    "c": 0.17951,
    "h": 304.6
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#6C2DA2
secondary
#92BF6C
accent
#E0488E
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C2DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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