#6D2AB7#6D2AB7

#6D2AB7 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.205 H 299.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6D2AB7
RGBrgb(109, 42, 183)
HSLhsl(269, 63%, 44%)
HSVhsv(269, 77%, 72%)
CMYKcmyk(40.4%, 77%, 0%, 28.2%)
CIE-LABlab(34.65, 55.89, -62.27)
CIE-LCHlch(34.65, 83.68, 311.91°)
OKLaboklab(46.2% 0.1017 -0.178)
OKLCHoklch(46.2% 0.205 299.7)
XYZxyz(15.6797, 8.3259, 45.5715)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2AB7 #74B72A
analogous
#2A2DB7 #6D2AB7 #B42AB7
triadic
#6D2AB7 #B76D2A #2AB76D
tetradic
#6D2AB7 #B72A2D #74B72A #2AB7B4
square
#6D2AB7 #B72A2D #74B72A #2AB7B4
split-complementary
#6D2AB7 #B7B42A #2DB72A
monochromatic
#321353 #4F1F85 #6D2AB7 #8C49D5 #AB7BE1

Accessibility & contrast

On white

7.88
#6D2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6D2AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2AB7
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2AB7#FFFFFF#000000##FFFFFF
##6D2AB71.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#5B5070
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d2ab7;
/* rgb */ color: rgb(109, 42, 183);
/* oklch */ color: oklch(46.2% 0.205 299.7);
Tailwind
colors: {
  custom: {
    50: '#9e6bce',
    500: '#6d2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ab7;
$custom-light: #9e6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ab7",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 268.511,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.462,
    "c": 0.20499,
    "h": 299.7
  },
  "luminance": 0.08326
}

Semantic roles & 50–950 ramp

primary
#6D2AB7
secondary
#A1C974
accent
#E64298
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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