#6B3FA5#6B3FA5

#6B3FA5 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.2% C 0.158 H 300.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6B3FA5
RGBrgb(107, 63, 165)
HSLhsl(266, 45%, 45%)
HSVhsv(266, 62%, 65%)
CMYKcmyk(35.2%, 61.8%, 0%, 35.3%)
CIE-LABlab(36.74, 40.65, -48.17)
CIE-LCHlch(36.74, 63.03, 310.16°)
OKLaboklab(47.21% 0.0798 -0.1367)
OKLCHoklch(47.21% 0.158 300.3)
XYZxyz(14.6308, 9.3973, 36.6331)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3FA5 #79A53F
analogous
#3F46A5 #6B3FA5 #9E3FA5
triadic
#6B3FA5 #A56B3F #3FA56B
tetradic
#6B3FA5 #A53F46 #79A53F #3FA59E
square
#6B3FA5 #A53F46 #79A53F #3FA59E
split-complementary
#6B3FA5 #A59E3F #46A53F
monochromatic
#321D4C #4E2E79 #6B3FA5 #8A5FC2 #AA8CD3

Accessibility & contrast

On white

7.29
#6B3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6B3FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3FA5
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3FA5#FFFFFF#000000##FFFFFF
##6B3FA51.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#1B56A3
Tritanopia (blue-blind)
#5F556C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b3fa5;
/* rgb */ color: rgb(107, 63, 165);
/* oklch */ color: oklch(47.2% 0.158 300.3);
Tailwind
colors: {
  custom: {
    50: '#9976c0',
    500: '#6b3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #6b3fa5;
$custom-light: #9976c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3fa5",
  "rgb": {
    "r": 107,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 265.882,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47206,
    "c": 0.15834,
    "h": 300.3
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#6B3FA5
secondary
#A4BE82
accent
#D4539D
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6B3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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