#6D2BA6#6D2BA6

#6D2BA6 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.186 H 304.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6D2BA6
RGBrgb(109, 43, 166)
HSLhsl(272, 59%, 41%)
HSVhsv(272, 74%, 65%)
CMYKcmyk(34.3%, 74.1%, 0%, 34.9%)
CIE-LABlab(33.42, 51.37, -54.14)
CIE-LCHlch(33.42, 74.63, 313.50°)
OKLaboklab(44.9% 0.1047 -0.1541)
OKLCHoklch(44.9% 0.186 304.2)
XYZxyz(14.0519, 7.7322, 36.8212)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2BA6 #64A62B
analogous
#2F2BA6 #6D2BA6 #A62BA1
triadic
#6D2BA6 #A66D2B #2BA66D
tetradic
#6D2BA6 #A62F2B #64A62B #2BA1A6
square
#6D2BA6 #A62F2B #64A62B #2BA1A6
split-complementary
#6D2BA6 #A1A62B #2BA62F
monochromatic
#2D1245 #4D1E75 #6D2BA6 #8C41CE #AA71DA

Accessibility & contrast

On white

8.25
#6D2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6D2BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2BA6
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2BA6#FFFFFF#000000##FFFFFF
##6D2BA61.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#624966
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d2ba6;
/* rgb */ color: rgb(109, 43, 166);
/* oklch */ color: oklch(44.9% 0.186 304.2);
Tailwind
colors: {
  custom: {
    50: '#9c6bc1',
    500: '#6d2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ba6;
$custom-light: #9c6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ba6",
  "rgb": {
    "r": 109,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 272.195,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44903,
    "c": 0.18632,
    "h": 304.2
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#6D2BA6
secondary
#93C16B
accent
#E2468E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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