#6B2DB9#6B2DB9

#6B2DB9 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.204 H 298.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6B2DB9
RGBrgb(107, 45, 185)
HSLhsl(267, 61%, 45%)
HSVhsv(267, 76%, 73%)
CMYKcmyk(42.2%, 75.7%, 0%, 27.5%)
CIE-LABlab(35.01, 54.78, -62.88)
CIE-LCHlch(35.01, 83.39, 311.07°)
OKLaboklab(46.45% 0.0957 -0.1799)
OKLCHoklch(46.45% 0.204 298)
XYZxyz(15.7565, 8.5051, 46.7010)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2DB9 #7BB92D
analogous
#2D35B9 #6B2DB9 #B12DB9
triadic
#6B2DB9 #B96B2D #2DB96B
tetradic
#6B2DB9 #B92D35 #7BB92D #2DB9B1
square
#6B2DB9 #B92D35 #7BB92D #2DB9B1
split-complementary
#6B2DB9 #B9B12D #35B92D
monochromatic
#321557 #4F2188 #6B2DB9 #8A4FD4 #AB80E0

Accessibility & contrast

On white

7.77
#6B2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6B2DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2DB9
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2DB9#FFFFFF#000000##FFFFFF
##6B2DB91.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#575271
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b2db9;
/* rgb */ color: rgb(107, 45, 185);
/* oklch */ color: oklch(46.5% 0.204 298.0);
Tailwind
colors: {
  custom: {
    50: '#9c6dcf',
    500: '#6b2db9',
    950: '#000000',
  },
}
SCSS
$custom: #6b2db9;
$custom-light: #9c6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2db9",
  "rgb": {
    "r": 107,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 266.571,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4645,
    "c": 0.20373,
    "h": 298
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#6B2DB9
secondary
#A5C979
accent
#E4449D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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