#6D2BB1#6D2BB1

#6D2BB1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.198 H 301.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6D2BB1
RGBrgb(109, 43, 177)
HSLhsl(270, 61%, 43%)
HSVhsv(270, 76%, 69%)
CMYKcmyk(38.4%, 75.7%, 0%, 30.6%)
CIE-LABlab(34.30, 54.02, -59.28)
CIE-LCHlch(34.30, 80.20, 312.34°)
OKLaboklab(45.8% 0.1023 -0.1692)
OKLCHoklch(45.8% 0.198 301.2)
XYZxyz(15.1044, 8.1532, 42.3644)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2BB1 #6FB12B
analogous
#2B2CB1 #6D2BB1 #B02BB1
triadic
#6D2BB1 #B16D2B #2BB16D
tetradic
#6D2BB1 #B12B2C #6FB12B #2BB1B0
square
#6D2BB1 #B12B2C #6FB12B #2BB1B0
split-complementary
#6D2BB1 #B1B02B #2CB12B
monochromatic
#30134F #4F1F80 #6D2BB1 #8C47D2 #AA78DE

Accessibility & contrast

On white

7.98
#6D2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6D2BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2BB1
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2BB1#FFFFFF#000000##FFFFFF
##6D2BB11.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#5E4E6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d2bb1;
/* rgb */ color: rgb(109, 43, 177);
/* oklch */ color: oklch(45.8% 0.198 301.2);
Tailwind
colors: {
  custom: {
    50: '#9d6bc9',
    500: '#6d2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #6d2bb1;
$custom-light: #9d6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2bb1",
  "rgb": {
    "r": 109,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 269.552,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45798,
    "c": 0.19776,
    "h": 301.2
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#6D2BB1
secondary
#9DC672
accent
#E44495
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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