#6B3EA5#6B3EA5

#6B3EA5 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.1% C 0.160 H 300.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6B3EA5
RGBrgb(107, 62, 165)
HSLhsl(266, 45%, 45%)
HSVhsv(266, 62%, 65%)
CMYKcmyk(35.2%, 62.4%, 0%, 35.3%)
CIE-LABlab(36.53, 41.20, -48.51)
CIE-LCHlch(36.53, 63.64, 310.34°)
OKLaboklab(47.06% 0.0811 -0.1377)
OKLCHoklch(47.06% 0.16 300.5)
XYZxyz(14.5759, 9.2876, 36.6148)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EA5 #78A53E
analogous
#3E45A5 #6B3EA5 #9F3EA5
triadic
#6B3EA5 #A56B3E #3EA56B
tetradic
#6B3EA5 #A53E45 #78A53E #3EA59F
square
#6B3EA5 #A53E45 #78A53E #3EA59F
split-complementary
#6B3EA5 #A59F3E #45A53E
monochromatic
#311D4C #4E2D79 #6B3EA5 #8A5EC2 #AA8AD3

Accessibility & contrast

On white

7.35
#6B3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6B3EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3EA5
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EA5#FFFFFF#000000##FFFFFF
##6B3EA51.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#1955A3
Tritanopia (blue-blind)
#5F546B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b3ea5;
/* rgb */ color: rgb(107, 62, 165);
/* oklch */ color: oklch(47.1% 0.160 300.5);
Tailwind
colors: {
  custom: {
    50: '#9976c0',
    500: '#6b3ea5',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ea5;
$custom-light: #9976c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ea5",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 266.214,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47056,
    "c": 0.1598,
    "h": 300.5
  },
  "luminance": 0.09288
}

Semantic roles & 50–950 ramp

primary
#6B3EA5
secondary
#A3BE81
accent
#D5539C
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6B3EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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