#6C2CA3#6C2CA3

#6C2CA3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.182 H 304.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#6C2CA3
RGBrgb(108, 44, 163)
HSLhsl(272, 57%, 41%)
HSVhsv(272, 73%, 64%)
CMYKcmyk(33.7%, 73%, 0%, 36.1%)
CIE-LABlab(33.21, 50.02, -52.68)
CIE-LCHlch(33.21, 72.64, 313.52°)
OKLaboklab(44.65% 0.1029 -0.1499)
OKLCHoklch(44.65% 0.182 304.5)
XYZxyz(13.6944, 7.6339, 35.3953)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2CA3 #63A32C
analogous
#302CA3 #6C2CA3 #A32C9E
triadic
#6C2CA3 #A36C2C #2CA36C
tetradic
#6C2CA3 #A3302C #63A32C #2C9EA3
square
#6C2CA3 #A3302C #63A32C #2C9EA3
split-complementary
#6C2CA3 #9EA32C #2CA330
monochromatic
#2C1243 #4C1F73 #6C2CA3 #8B41CC #A971D9

Accessibility & contrast

On white

8.31
#6C2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2CA3
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2CA3#FFFFFF#000000##FFFFFF
##6C2CA31.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#624965
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c2ca3;
/* rgb */ color: rgb(108, 44, 163);
/* oklch */ color: oklch(44.7% 0.182 304.5);
Tailwind
colors: {
  custom: {
    50: '#9b6bbf',
    500: '#6c2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ca3;
$custom-light: #9b6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ca3",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 272.269,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44652,
    "c": 0.18178,
    "h": 304.5
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#6C2CA3
secondary
#92C06B
accent
#E1478E
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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