#6D2BAE#6D2BAE

#6D2BAE is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.195 H 301.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6D2BAE
RGBrgb(109, 43, 174)
HSLhsl(270, 60%, 43%)
HSVhsv(270, 75%, 68%)
CMYKcmyk(37.4%, 75.3%, 0%, 31.8%)
CIE-LABlab(34.06, 53.29, -57.89)
CIE-LCHlch(34.06, 78.69, 312.63°)
OKLaboklab(45.55% 0.103 -0.1652)
OKLCHoklch(45.55% 0.195 301.9)
XYZxyz(14.8087, 8.0349, 40.8069)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2BAE #6CAE2B
analogous
#2B2BAE #6D2BAE #AE2BAE
triadic
#6D2BAE #AE6D2B #2BAE6D
tetradic
#6D2BAE #AE2B2B #6CAE2B #2BAEAE
square
#6D2BAE #AE2B2B #6CAE2B #2BAEAE
split-complementary
#6D2BAE #AEAE2B #2BAE2B
monochromatic
#30134C #4E1F7D #6D2BAE #8C45D1 #AA76DD

Accessibility & contrast

On white

8.06
#6D2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6D2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2BAE
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2BAE#FFFFFF#000000##FFFFFF
##6D2BAE1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#5F4C6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d2bae;
/* rgb */ color: rgb(109, 43, 174);
/* oklch */ color: oklch(45.6% 0.195 301.9);
Tailwind
colors: {
  custom: {
    50: '#9d6bc7',
    500: '#6d2bae',
    950: '#000000',
  },
}
SCSS
$custom: #6d2bae;
$custom-light: #9d6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2bae",
  "rgb": {
    "r": 109,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 270.229,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45551,
    "c": 0.19465,
    "h": 301.9
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#6D2BAE
secondary
#9AC570
accent
#E44493
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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