#6D2CCA#6D2CCA

#6D2CCA is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.223 H 295.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6D2CCA
RGBrgb(109, 44, 202)
HSLhsl(265, 64%, 48%)
HSVhsv(265, 78%, 79%)
CMYKcmyk(46%, 78.2%, 0%, 20.8%)
CIE-LABlab(36.59, 59.75, -70.26)
CIE-LCHlch(36.59, 92.23, 310.38°)
OKLaboklab(48.06% 0.0948 -0.2015)
OKLCHoklch(48.06% 0.223 295.2)
XYZxyz(17.8651, 9.3164, 56.7226)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2CCA #89CA2C
analogous
#2C3ACA #6D2CCA #BC2CCA
triadic
#6D2CCA #CA6D2C #2CCA6D
tetradic
#6D2CCA #CA2C3A #89CA2C #2CCABC
square
#6D2CCA #CA2C3A #89CA2C #2CCABC
split-complementary
#6D2CCA #CABC2C #3ACA2C
monochromatic
#371665 #522198 #6D2CCA #8E58DB #B08BE6

Accessibility & contrast

On white

7.33
#6D2CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6D2CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2CCA
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2CCA#FFFFFF#000000##FFFFFF
##6D2CCA1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#52587B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d2cca;
/* rgb */ color: rgb(109, 44, 202);
/* oklch */ color: oklch(48.1% 0.223 295.2);
Tailwind
colors: {
  custom: {
    50: '#a06ddb',
    500: '#6d2cca',
    950: '#000000',
  },
}
SCSS
$custom: #6d2cca;
$custom-light: #a06ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2cca",
  "rgb": {
    "r": 109,
    "g": 44,
    "b": 202
  },
  "hsl": {
    "h": 264.684,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48057,
    "c": 0.22264,
    "h": 295.2
  },
  "luminance": 0.09317
}

Semantic roles & 50–950 ramp

primary
#6D2CCA
secondary
#B0D082
accent
#E741A3
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6D2CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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