#6D2AB6#6D2AB6

#6D2AB6 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.204 H 300.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6D2AB6
RGBrgb(109, 42, 182)
HSLhsl(269, 63%, 44%)
HSVhsv(269, 77%, 71%)
CMYKcmyk(40.1%, 76.9%, 0%, 28.6%)
CIE-LABlab(34.57, 55.65, -61.82)
CIE-LCHlch(34.57, 83.18, 311.99°)
OKLaboklab(46.12% 0.1019 -0.1767)
OKLCHoklch(46.12% 0.204 300)
XYZxyz(15.5760, 8.2844, 45.0253)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2AB6 #73B62A
analogous
#2A2DB6 #6D2AB6 #B32AB6
triadic
#6D2AB6 #B66D2A #2AB66D
tetradic
#6D2AB6 #B62A2D #73B62A #2AB6B3
square
#6D2AB6 #B62A2D #73B62A #2AB6B3
split-complementary
#6D2AB6 #B6B32A #2DB62A
monochromatic
#311353 #4F1F84 #6D2AB6 #8C48D5 #AB7AE0

Accessibility & contrast

On white

7.90
#6D2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6D2AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2AB6
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2AB6#FFFFFF#000000##FFFFFF
##6D2AB61.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#5C4F6F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d2ab6;
/* rgb */ color: rgb(109, 42, 182);
/* oklch */ color: oklch(46.1% 0.204 300.0);
Tailwind
colors: {
  custom: {
    50: '#9e6bcd',
    500: '#6d2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ab6;
$custom-light: #9e6bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ab6",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 268.714,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46115,
    "c": 0.20396,
    "h": 300
  },
  "luminance": 0.08285
}

Semantic roles & 50–950 ramp

primary
#6D2AB6
secondary
#A0C873
accent
#E64297
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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