#6B2AAC#6B2AAC

#6B2AAC is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.193 H 301.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6B2AAC
RGBrgb(107, 42, 172)
HSLhsl(270, 61%, 42%)
HSVhsv(270, 76%, 67%)
CMYKcmyk(37.8%, 75.6%, 0%, 32.5%)
CIE-LABlab(33.48, 52.89, -57.65)
CIE-LCHlch(33.48, 78.23, 312.53°)
OKLaboklab(45.04% 0.1015 -0.1645)
OKLCHoklch(45.04% 0.193 301.7)
XYZxyz(14.3360, 7.7602, 39.7643)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2AAC #6BAC2A
analogous
#2A2AAC #6B2AAC #AC2AAC
triadic
#6B2AAC #AC6B2A #2AAC6B
tetradic
#6B2AAC #AC2A2A #6BAC2A #2AACAC
square
#6B2AAC #AC2A2A #6BAC2A #2AACAC
split-complementary
#6B2AAC #ACAC2A #2AAC2A
monochromatic
#2E124A #4C1E7B #6B2AAC #8A42D1 #A873DD

Accessibility & contrast

On white

8.23
#6B2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6B2AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2AAC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2AAC#FFFFFF#000000##FFFFFF
##6B2AAC1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#5D4B69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b2aac;
/* rgb */ color: rgb(107, 42, 172);
/* oklch */ color: oklch(45.0% 0.193 301.7);
Tailwind
colors: {
  custom: {
    50: '#9b6ac6',
    500: '#6b2aac',
    950: '#000000',
  },
}
SCSS
$custom: #6b2aac;
$custom-light: #9b6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2aac",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 270,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45037,
    "c": 0.19329,
    "h": 301.7
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#6B2AAC
secondary
#99C46D
accent
#E44494
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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