#6D2AB5#6D2AB5

#6D2AB5 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.203 H 300.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6D2AB5
RGBrgb(109, 42, 181)
HSLhsl(269, 62%, 44%)
HSVhsv(269, 77%, 71%)
CMYKcmyk(39.8%, 76.8%, 0%, 29%)
CIE-LABlab(34.48, 55.41, -61.36)
CIE-LCHlch(34.48, 82.67, 312.08°)
OKLaboklab(46.03% 0.1022 -0.1753)
OKLCHoklch(46.03% 0.203 300.2)
XYZxyz(15.4730, 8.2432, 44.4830)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2AB5 #72B52A
analogous
#2A2CB5 #6D2AB5 #B22AB5
triadic
#6D2AB5 #B56D2A #2AB56D
tetradic
#6D2AB5 #B52A2C #72B52A #2AB5B2
square
#6D2AB5 #B52A2C #72B52A #2AB5B2
split-complementary
#6D2AB5 #B5B22A #2CB52A
monochromatic
#311352 #4F1E83 #6D2AB5 #8C48D4 #AB79E0

Accessibility & contrast

On white

7.93
#6D2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6D2AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2AB5
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2AB5#FFFFFF#000000##FFFFFF
##6D2AB51.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#5C4F6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d2ab5;
/* rgb */ color: rgb(109, 42, 181);
/* oklch */ color: oklch(46.0% 0.203 300.2);
Tailwind
colors: {
  custom: {
    50: '#9d6bcc',
    500: '#6d2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ab5;
$custom-light: #9d6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ab5",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 268.921,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46031,
    "c": 0.20294,
    "h": 300.2
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#6D2AB5
secondary
#9FC873
accent
#E54297
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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