#6B2BAE#6B2BAE

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

Color values

HEX#6B2BAE
RGBrgb(107, 43, 174)
HSLhsl(269, 60%, 43%)
HSVhsv(269, 75%, 68%)
CMYKcmyk(38.5%, 75.3%, 0%, 31.8%)
CIE-LABlab(33.79, 52.94, -58.33)
CIE-LCHlch(33.79, 78.77, 312.23°)
OKLaboklab(45.31% 0.1001 -0.1665)
OKLCHoklch(45.31% 0.194 301)
XYZxyz(14.5654, 7.9094, 40.7955)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2BAE #6EAE2B
analogous
#2B2CAE #6B2BAE #AD2BAE
triadic
#6B2BAE #AE6B2B #2BAE6B
tetradic
#6B2BAE #AE2B2C #6EAE2B #2BAEAD
square
#6B2BAE #AE2B2C #6EAE2B #2BAEAD
split-complementary
#6B2BAE #AEAD2B #2CAE2B
monochromatic
#2F134C #4D1F7D #6B2BAE #8945D1 #A976DD

Accessibility & contrast

On white

8.13
#6B2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2BAE
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2BAE#FFFFFF#000000##FFFFFF
##6B2BAE1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b2bae;
/* rgb */ color: rgb(107, 43, 174);
/* oklch */ color: oklch(45.3% 0.194 301.0);
Tailwind
colors: {
  custom: {
    50: '#9b6bc7',
    500: '#6b2bae',
    950: '#000000',
  },
}
SCSS
$custom: #6b2bae;
$custom-light: #9b6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2bae",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 269.313,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45309,
    "c": 0.1943,
    "h": 301
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#6B2BAE
secondary
#9BC570
accent
#E44496
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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