#6B2CAA#6B2CAA

#6B2CAA is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.189 H 302.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6B2CAA
RGBrgb(107, 44, 170)
HSLhsl(270, 59%, 42%)
HSVhsv(270, 74%, 67%)
CMYKcmyk(37.1%, 74.1%, 0%, 33.3%)
CIE-LABlab(33.63, 51.52, -56.21)
CIE-LCHlch(33.63, 76.25, 312.51°)
OKLaboklab(45.09% 0.1001 -0.1603)
OKLCHoklch(45.09% 0.189 302)
XYZxyz(14.2180, 7.8294, 38.7846)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CAA #6BAA2C
analogous
#2C2CAA #6B2CAA #AA2CAA
triadic
#6B2CAA #AA6B2C #2CAA6B
tetradic
#6B2CAA #AA2C2C #6BAA2C #2CAAAA
square
#6B2CAA #AA2C2C #6BAA2C #2CAAAA
split-complementary
#6B2CAA #AAAA2C #2CAA2C
monochromatic
#2E1349 #4C1F79 #6B2CAA #8A44CF #A875DB

Accessibility & contrast

On white

8.18
#6B2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6B2CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2CAA
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CAA#FFFFFF#000000##FFFFFF
##6B2CAA1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#5E4B69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b2caa;
/* rgb */ color: rgb(107, 44, 170);
/* oklch */ color: oklch(45.1% 0.189 302.0);
Tailwind
colors: {
  custom: {
    50: '#9b6bc4',
    500: '#6b2caa',
    950: '#000000',
  },
}
SCSS
$custom: #6b2caa;
$custom-light: #9b6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2caa",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 270,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4509,
    "c": 0.18897,
    "h": 302
  },
  "luminance": 0.07829
}

Semantic roles & 50–950 ramp

primary
#6B2CAA
secondary
#99C36F
accent
#E24694
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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