#6D2AB2#6D2AB2

#6D2AB2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.200 H 301.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6D2AB2
RGBrgb(109, 42, 178)
HSLhsl(270, 62%, 43%)
HSVhsv(270, 76%, 70%)
CMYKcmyk(38.8%, 76.4%, 0%, 30.2%)
CIE-LABlab(34.23, 54.68, -59.99)
CIE-LCHlch(34.23, 81.17, 312.35°)
OKLaboklab(45.78% 0.1029 -0.1713)
OKLCHoklch(45.78% 0.2 301)
XYZxyz(15.1685, 8.1214, 42.8793)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2AB2 #6FB22A
analogous
#2A2BB2 #6D2AB2 #B12AB2
triadic
#6D2AB2 #B26D2A #2AB26D
tetradic
#6D2AB2 #B22A2B #6FB22A #2AB2B1
square
#6D2AB2 #B22A2B #6FB22A #2AB2B1
split-complementary
#6D2AB2 #B2B12A #2BB22A
monochromatic
#30134F #4F1E80 #6D2AB2 #8C46D3 #AA77DF

Accessibility & contrast

On white

8.00
#6D2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6D2AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2AB2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2AB2#FFFFFF#000000##FFFFFF
##6D2AB21.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#5D4E6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d2ab2;
/* rgb */ color: rgb(109, 42, 178);
/* oklch */ color: oklch(45.8% 0.200 301.0);
Tailwind
colors: {
  custom: {
    50: '#9d6bca',
    500: '#6d2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ab2;
$custom-light: #9d6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ab2",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 269.559,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.19985,
    "h": 301
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#6D2AB2
secondary
#9DC771
accent
#E54395
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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