#6B2AAE#6B2AAE

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

Color values

HEX#6B2AAE
RGBrgb(107, 42, 174)
HSLhsl(270, 61%, 42%)
HSVhsv(270, 76%, 68%)
CMYKcmyk(38.5%, 75.9%, 0%, 31.8%)
CIE-LABlab(33.64, 53.37, -58.58)
CIE-LCHlch(33.64, 79.25, 312.34°)
OKLaboklab(45.2% 0.101 -0.1672)
OKLCHoklch(45.2% 0.195 301.1)
XYZxyz(14.5295, 7.8376, 40.7835)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2AAE #6DAE2A
analogous
#2A2BAE #6B2AAE #AD2AAE
triadic
#6B2AAE #AE6B2A #2AAE6B
tetradic
#6B2AAE #AE2A2B #6DAE2A #2AAEAD
square
#6B2AAE #AE2A2B #6DAE2A #2AAEAD
split-complementary
#6B2AAE #AEAD2A #2BAE2A
monochromatic
#2E124B #4D1E7D #6B2AAE #8A43D2 #A875DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B2AAE#FFFFFF#000000##FFFFFF
##6B2AAE1.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)
#004EB2
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#5C4C6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b2aae;
/* rgb */ color: rgb(107, 42, 174);
/* oklch */ color: oklch(45.2% 0.195 301.1);
Tailwind
colors: {
  custom: {
    50: '#9c6ac7',
    500: '#6b2aae',
    950: '#000000',
  },
}
SCSS
$custom: #6b2aae;
$custom-light: #9c6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2aae",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 269.545,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45203,
    "c": 0.19536,
    "h": 301.1
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#6B2AAE
secondary
#9BC56F
accent
#E44495
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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