#6B2AAF#6B2AAF

#6B2AAF is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.196 H 300.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6B2AAF
RGBrgb(107, 42, 175)
HSLhsl(269, 61%, 43%)
HSVhsv(269, 76%, 69%)
CMYKcmyk(38.9%, 76%, 0%, 31.4%)
CIE-LABlab(33.73, 53.61, -59.04)
CIE-LCHlch(33.73, 79.75, 312.24°)
OKLaboklab(45.29% 0.1008 -0.1686)
OKLCHoklch(45.29% 0.196 300.9)
XYZxyz(14.6273, 7.8768, 41.2989)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2AAF #6EAF2A
analogous
#2A2CAF #6B2AAF #AD2AAF
triadic
#6B2AAF #AF6B2A #2AAF6B
tetradic
#6B2AAF #AF2A2C #6EAF2A #2AAFAD
square
#6B2AAF #AF2A2C #6EAF2A #2AAFAD
split-complementary
#6B2AAF #AFAD2A #2CAF2A
monochromatic
#2F124C #4D1E7E #6B2AAF #8944D2 #A975DE

Accessibility & contrast

On white

8.15
#6B2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6B2AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2AAF
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2AAF#FFFFFF#000000##FFFFFF
##6B2AAF1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#5C4D6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b2aaf;
/* rgb */ color: rgb(107, 42, 175);
/* oklch */ color: oklch(45.3% 0.196 300.9);
Tailwind
colors: {
  custom: {
    50: '#9c6bc8',
    500: '#6b2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #6b2aaf;
$custom-light: #9c6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2aaf",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 269.323,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45287,
    "c": 0.19641,
    "h": 300.9
  },
  "luminance": 0.07877
}

Semantic roles & 50–950 ramp

primary
#6B2AAF
secondary
#9BC66F
accent
#E44396
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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