#6B3FBA#6B3FBA

#6B3FBA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.8% C 0.184 H 295.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#6B3FBA
RGBrgb(107, 63, 186)
HSLhsl(261, 49%, 49%)
HSVhsv(261, 66%, 73%)
CMYKcmyk(42.5%, 66.1%, 0%, 27.1%)
CIE-LABlab(38.24, 46.24, -58.20)
CIE-LCHlch(38.24, 74.34, 308.47°)
OKLaboklab(48.77% 0.078 -0.1662)
OKLCHoklch(48.77% 0.184 295.1)
XYZxyz(16.7015, 10.2256, 47.5386)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3FBA #8EBA3F
analogous
#3F51BA #6B3FBA #A93FBA
triadic
#6B3FBA #BA6B3F #3FBA6B
tetradic
#6B3FBA #BA3F51 #8EBA3F #3FBAA9
square
#6B3FBA #BA3F51 #8EBA3F #3FBAA9
split-complementary
#6B3FBA #BAA93F #51BA3F
monochromatic
#36205F #51308C #6B3FBA #8D6ACC #B097DC

Accessibility & contrast

On white

6.90
#6B3FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6B3FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3FBA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3FBA#FFFFFF#000000##FFFFFF
##6B3FBA1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b3fba;
/* rgb */ color: rgb(107, 63, 186);
/* oklch */ color: oklch(48.8% 0.184 295.1);
Tailwind
colors: {
  custom: {
    50: '#9b77d0',
    500: '#6b3fba',
    950: '#000000',
  },
}
SCSS
$custom: #6b3fba;
$custom-light: #9b77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3fba",
  "rgb": {
    "r": 107,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 261.463,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48773,
    "c": 0.18364,
    "h": 295.1
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#6B3FBA
secondary
#B3C88D
accent
#D94FA8
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6B3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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