#6B3EC5#6B3EC5

#6B3EC5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.198 H 293.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6B3EC5
RGBrgb(107, 62, 197)
HSLhsl(260, 54%, 51%)
HSVhsv(260, 69%, 77%)
CMYKcmyk(45.7%, 68.5%, 0%, 22.7%)
CIE-LABlab(38.90, 49.75, -63.57)
CIE-LCHlch(38.90, 80.72, 308.05°)
OKLaboklab(49.51% 0.0775 -0.182)
OKLCHoklch(49.51% 0.198 293.1)
XYZxyz(17.8613, 10.6017, 53.9177)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EC5 #98C53E
analogous
#3E54C5 #6B3EC5 #AE3EC5
triadic
#6B3EC5 #C56B3E #3EC56B
tetradic
#6B3EC5 #C53E54 #98C53E #3EC5AE
square
#6B3EC5 #C53E54 #98C53E #3EC5AE
split-complementary
#6B3EC5 #C5AE3E #54C53E
monochromatic
#382069 #512E98 #6B3EC5 #8F6DD3 #B39CE1

Accessibility & contrast

On white

6.73
#6B3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6B3EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3EC5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EC5#FFFFFF#000000##FFFFFF
##6B3EC51.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#50607D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6b3ec5;
/* rgb */ color: rgb(107, 62, 197);
/* oklch */ color: oklch(49.5% 0.198 293.1);
Tailwind
colors: {
  custom: {
    50: '#9d77d8',
    500: '#6b3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ec5;
$custom-light: #9d77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ec5",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 260,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4951,
    "c": 0.19782,
    "h": 293.1
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#6B3EC5
secondary
#B9CD91
accent
#DD4BAC
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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