#6B3EB3#6B3EB3

#6B3EB3 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.177 H 296.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6B3EB3
RGBrgb(107, 62, 179)
HSLhsl(263, 49%, 47%)
HSVhsv(263, 65%, 70%)
CMYKcmyk(40.2%, 65.4%, 0%, 29.8%)
CIE-LABlab(37.53, 44.90, -55.23)
CIE-LCHlch(37.53, 71.18, 309.11°)
OKLaboklab(48.09% 0.0799 -0.1575)
OKLCHoklch(48.09% 0.177 296.9)
XYZxyz(15.9206, 9.8254, 43.6968)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EB3 #86B33E
analogous
#3E4BB3 #6B3EB3 #A63EB3
triadic
#6B3EB3 #B36B3E #3EB36B
tetradic
#6B3EB3 #B33E4B #86B33E #3EB3A6
square
#6B3EB3 #B33E4B #86B33E #3EB3A6
split-complementary
#6B3EB3 #B3A63E #4BB33E
monochromatic
#351F58 #502E86 #6B3EB3 #8B65CA #AD92D9

Accessibility & contrast

On white

7.08
#6B3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6B3EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3EB3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EB3#FFFFFF#000000##FFFFFF
##6B3EB31.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#595973
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b3eb3;
/* rgb */ color: rgb(107, 62, 179);
/* oklch */ color: oklch(48.1% 0.177 296.9);
Tailwind
colors: {
  custom: {
    50: '#9b76cb',
    500: '#6b3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #6b3eb3;
$custom-light: #9b76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3eb3",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 263.077,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48092,
    "c": 0.17662,
    "h": 296.9
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#6B3EB3
secondary
#ADC588
accent
#D850A4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6B3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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