#6B2EB6#6B2EB6

#6B2EB6 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.199 H 298.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6B2EB6
RGBrgb(107, 46, 182)
HSLhsl(267, 60%, 45%)
HSVhsv(267, 75%, 71%)
CMYKcmyk(41.2%, 74.7%, 0%, 28.6%)
CIE-LABlab(34.92, 53.59, -61.26)
CIE-LCHlch(34.92, 81.39, 311.18°)
OKLaboklab(46.31% 0.0955 -0.1751)
OKLCHoklch(46.31% 0.199 298.6)
XYZxyz(15.4817, 8.4570, 45.0636)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2EB6 #79B62E
analogous
#2E35B6 #6B2EB6 #AF2EB6
triadic
#6B2EB6 #B66B2E #2EB66B
tetradic
#6B2EB6 #B62E35 #79B62E #2EB6AF
square
#6B2EB6 #B62E35 #79B62E #2EB6AF
split-complementary
#6B2EB6 #B6AF2E #35B62E
monochromatic
#321554 #4E2285 #6B2EB6 #8A4FD2 #AA80DF

Accessibility & contrast

On white

7.80
#6B2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6B2EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2EB6
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2EB6#FFFFFF#000000##FFFFFF
##6B2EB61.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b2eb6;
/* rgb */ color: rgb(107, 46, 182);
/* oklch */ color: oklch(46.3% 0.199 298.6);
Tailwind
colors: {
  custom: {
    50: '#9c6dcd',
    500: '#6b2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #6b2eb6;
$custom-light: #9c6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2eb6",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 266.912,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46305,
    "c": 0.19949,
    "h": 298.6
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#6B2EB6
secondary
#A4C878
accent
#E3459C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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