#6B2EB8#6B2EB8

#6B2EB8 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.202 H 298.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6B2EB8
RGBrgb(107, 46, 184)
HSLhsl(267, 60%, 45%)
HSVhsv(267, 75%, 72%)
CMYKcmyk(41.8%, 75%, 0%, 27.8%)
CIE-LABlab(35.08, 54.09, -62.17)
CIE-LCHlch(35.08, 82.41, 311.03°)
OKLaboklab(46.47% 0.0951 -0.1778)
OKLCHoklch(46.47% 0.202 298.1)
XYZxyz(15.6899, 8.5402, 46.1599)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2EB8 #7BB82E
analogous
#2E36B8 #6B2EB8 #B02EB8
triadic
#6B2EB8 #B86B2E #2EB86B
tetradic
#6B2EB8 #B82E36 #7BB82E #2EB8B0
square
#6B2EB8 #B82E36 #7BB82E #2EB8B0
split-complementary
#6B2EB8 #B8B02E #36B82E
monochromatic
#321656 #4F2287 #6B2EB8 #8A50D3 #AB81DF

Accessibility & contrast

On white

7.75
#6B2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6B2EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2EB8
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2EB8#FFFFFF#000000##FFFFFF
##6B2EB81.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#585271
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b2eb8;
/* rgb */ color: rgb(107, 46, 184);
/* oklch */ color: oklch(46.5% 0.202 298.1);
Tailwind
colors: {
  custom: {
    50: '#9c6dce',
    500: '#6b2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #6b2eb8;
$custom-light: #9c6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2eb8",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 266.522,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46473,
    "c": 0.20162,
    "h": 298.1
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#6B2EB8
secondary
#A5C879
accent
#E3459D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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