#6B2DB5#6B2DB5

#6B2DB5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.200 H 299.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6B2DB5
RGBrgb(107, 45, 181)
HSLhsl(267, 60%, 44%)
HSVhsv(267, 75%, 71%)
CMYKcmyk(40.9%, 75.1%, 0%, 29%)
CIE-LABlab(34.68, 53.79, -61.05)
CIE-LCHlch(34.68, 81.37, 311.38°)
OKLaboklab(46.11% 0.0967 -0.1745)
OKLCHoklch(46.11% 0.2 299)
XYZxyz(15.3402, 8.3386, 44.5084)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2DB5 #77B52D
analogous
#2D33B5 #6B2DB5 #AF2DB5
triadic
#6B2DB5 #B56B2D #2DB56B
tetradic
#6B2DB5 #B52D33 #77B52D #2DB5AF
square
#6B2DB5 #B52D33 #77B52D #2DB5AF
split-complementary
#6B2DB5 #B5AF2D #33B52D
monochromatic
#311553 #4E2184 #6B2DB5 #8A4DD3 #AA7EDF

Accessibility & contrast

On white

7.87
#6B2DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2DB5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2DB5#FFFFFF#000000##FFFFFF
##6B2DB51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#59506F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b2db5;
/* rgb */ color: rgb(107, 45, 181);
/* oklch */ color: oklch(46.1% 0.200 299.0);
Tailwind
colors: {
  custom: {
    50: '#9c6ccc',
    500: '#6b2db5',
    950: '#000000',
  },
}
SCSS
$custom: #6b2db5;
$custom-light: #9c6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2db5",
  "rgb": {
    "r": 107,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 267.353,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46111,
    "c": 0.19951,
    "h": 299
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#6B2DB5
secondary
#A2C776
accent
#E3449B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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