#6B2CB7#6B2CB7

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

Color values

HEX#6B2CB7
RGBrgb(107, 44, 183)
HSLhsl(267, 61%, 45%)
HSVhsv(267, 76%, 72%)
CMYKcmyk(41.5%, 76%, 0%, 28.2%)
CIE-LABlab(34.69, 54.72, -62.22)
CIE-LCHlch(34.69, 82.86, 311.33°)
OKLaboklab(46.17% 0.097 -0.1779)
OKLCHoklch(46.17% 0.203 298.6)
XYZxyz(15.5091, 8.3458, 45.5844)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CB7 #78B72C
analogous
#2C33B7 #6B2CB7 #B02CB7
triadic
#6B2CB7 #B76B2C #2CB76B
tetradic
#6B2CB7 #B72C33 #78B72C #2CB7B0
square
#6B2CB7 #B72C33 #78B72C #2CB7B0
split-complementary
#6B2CB7 #B7B02C #33B72C
monochromatic
#311454 #4E2086 #6B2CB7 #8A4CD4 #AA7EE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B2CB7#FFFFFF#000000##FFFFFF
##6B2CB71.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)
#0052BB
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#585170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b2cb7;
/* rgb */ color: rgb(107, 44, 183);
/* oklch */ color: oklch(46.2% 0.203 298.6);
Tailwind
colors: {
  custom: {
    50: '#9c6cce',
    500: '#6b2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #6b2cb7;
$custom-light: #9c6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2cb7",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 267.194,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46173,
    "c": 0.20267,
    "h": 298.6
  },
  "luminance": 0.08346
}

Semantic roles & 50–950 ramp

primary
#6B2CB7
secondary
#A3C876
accent
#E4439B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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