#6B2DB6#6B2DB6

#6B2DB6 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.201 H 298.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6B2DB6
RGBrgb(107, 45, 182)
HSLhsl(267, 60%, 45%)
HSVhsv(267, 75%, 71%)
CMYKcmyk(41.2%, 75.3%, 0%, 28.6%)
CIE-LABlab(34.76, 54.04, -61.51)
CIE-LCHlch(34.76, 81.88, 311.30°)
OKLaboklab(46.2% 0.0964 -0.1759)
OKLCHoklch(46.2% 0.201 298.7)
XYZxyz(15.4431, 8.3797, 45.0507)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2DB6 #78B62D
analogous
#2D34B6 #6B2DB6 #AF2DB6
triadic
#6B2DB6 #B66B2D #2DB66B
tetradic
#6B2DB6 #B62D34 #78B62D #2DB6AF
square
#6B2DB6 #B62D34 #78B62D #2DB6AF
split-complementary
#6B2DB6 #B6AF2D #34B62D
monochromatic
#311554 #4E2185 #6B2DB6 #8A4DD3 #AA7EDF

Accessibility & contrast

On white

7.85
#6B2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6B2DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2DB6
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2DB6#FFFFFF#000000##FFFFFF
##6B2DB61.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#595170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b2db6;
/* rgb */ color: rgb(107, 45, 182);
/* oklch */ color: oklch(46.2% 0.201 298.7);
Tailwind
colors: {
  custom: {
    50: '#9c6ccd',
    500: '#6b2db6',
    950: '#000000',
  },
}
SCSS
$custom: #6b2db6;
$custom-light: #9c6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2db6",
  "rgb": {
    "r": 107,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 267.153,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46195,
    "c": 0.20056,
    "h": 298.7
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#6B2DB6
secondary
#A3C877
accent
#E3449B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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