#6B2BB8#6B2BB8

#6B2BB8 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.205 H 298.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6B2BB8
RGBrgb(107, 43, 184)
HSLhsl(267, 62%, 45%)
HSVhsv(267, 77%, 72%)
CMYKcmyk(41.8%, 76.6%, 0%, 27.8%)
CIE-LABlab(34.63, 55.40, -62.91)
CIE-LCHlch(34.63, 83.83, 311.36°)
OKLaboklab(46.15% 0.0976 -0.18)
OKLCHoklch(46.15% 0.205 298.5)
XYZxyz(15.5768, 8.3140, 46.1222)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2BB8 #78B82B
analogous
#2B31B8 #6B2BB8 #B22BB8
triadic
#6B2BB8 #B86B2B #2BB86B
tetradic
#6B2BB8 #B82B31 #78B82B #2BB8B2
square
#6B2BB8 #B82B31 #78B82B #2BB8B2
split-complementary
#6B2BB8 #B8B22B #31B82B
monochromatic
#311455 #4E1F86 #6B2BB8 #8A4BD5 #AA7DE1

Accessibility & contrast

On white

7.89
#6B2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6B2BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2BB8
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2BB8#FFFFFF#000000##FFFFFF
##6B2BB81.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#585170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b2bb8;
/* rgb */ color: rgb(107, 43, 184);
/* oklch */ color: oklch(46.2% 0.205 298.5);
Tailwind
colors: {
  custom: {
    50: '#9c6bce',
    500: '#6b2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #6b2bb8;
$custom-light: #9c6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2bb8",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 267.234,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46154,
    "c": 0.20474,
    "h": 298.5
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#6B2BB8
secondary
#A3C976
accent
#E5439B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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