#6C2AAF#6C2AAF

#6C2AAF is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.197 H 301.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6C2AAF
RGBrgb(108, 42, 175)
HSLhsl(270, 61%, 43%)
HSVhsv(270, 76%, 69%)
CMYKcmyk(38.3%, 76%, 0%, 31.4%)
CIE-LABlab(33.86, 53.79, -58.82)
CIE-LCHlch(33.86, 79.71, 312.44°)
OKLaboklab(45.41% 0.1022 -0.1679)
OKLCHoklch(45.41% 0.197 301.3)
XYZxyz(14.7483, 7.9391, 41.3045)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2AAF #6DAF2A
analogous
#2A2BAF #6C2AAF #AE2AAF
triadic
#6C2AAF #AF6C2A #2AAF6C
tetradic
#6C2AAF #AF2A2B #6DAF2A #2AAFAE
square
#6C2AAF #AF2A2B #6DAF2A #2AAFAE
split-complementary
#6C2AAF #AFAE2A #2BAF2A
monochromatic
#2F124C #4E1E7E #6C2AAF #8B44D2 #A975DE

Accessibility & contrast

On white

8.12
#6C2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6C2AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2AAF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2AAF#FFFFFF#000000##FFFFFF
##6C2AAF1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#5D4C6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c2aaf;
/* rgb */ color: rgb(108, 42, 175);
/* oklch */ color: oklch(45.4% 0.197 301.3);
Tailwind
colors: {
  custom: {
    50: '#9c6bc8',
    500: '#6c2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #6c2aaf;
$custom-light: #9c6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2aaf",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 269.774,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45407,
    "c": 0.19658,
    "h": 301.3
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#6C2AAF
secondary
#9BC66F
accent
#E44395
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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