#6B3EBA#6B3EBA

#6B3EBA is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.185 H 295.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#6B3EBA
RGBrgb(107, 62, 186)
HSLhsl(262, 50%, 49%)
HSVhsv(262, 67%, 73%)
CMYKcmyk(42.5%, 66.7%, 0%, 27.1%)
CIE-LABlab(38.05, 46.78, -58.52)
CIE-LCHlch(38.05, 74.91, 308.64°)
OKLaboklab(48.63% 0.0791 -0.1671)
OKLCHoklch(48.63% 0.185 295.3)
XYZxyz(16.6466, 10.1158, 47.5203)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EBA #8DBA3E
analogous
#3E4FBA #6B3EBA #A93EBA
triadic
#6B3EBA #BA6B3E #3EBA6B
tetradic
#6B3EBA #BA3E4F #8DBA3E #3EBAA9
square
#6B3EBA #BA3E4F #8DBA3E #3EBAA9
split-complementary
#6B3EBA #BAA93E #4FBA3E
monochromatic
#361F5E #512F8C #6B3EBA #8D68CD #B096DC

Accessibility & contrast

On white

6.95
#6B3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6B3EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3EBA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EBA#FFFFFF#000000##FFFFFF
##6B3EBA1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#565B77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b3eba;
/* rgb */ color: rgb(107, 62, 186);
/* oklch */ color: oklch(48.6% 0.185 295.3);
Tailwind
colors: {
  custom: {
    50: '#9c76d0',
    500: '#6b3eba',
    950: '#000000',
  },
}
SCSS
$custom: #6b3eba;
$custom-light: #9c76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3eba",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 261.774,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48633,
    "c": 0.18492,
    "h": 295.3
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#6B3EBA
secondary
#B2C88C
accent
#DA4EA7
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6B3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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