#6B3CAB#6B3CAB

#6B3CAB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.2% C 0.170 H 299.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6B3CAB
RGBrgb(107, 60, 171)
HSLhsl(265, 48%, 45%)
HSVhsv(265, 65%, 67%)
CMYKcmyk(37.4%, 64.9%, 0%, 32.9%)
CIE-LABlab(36.55, 43.86, -52.06)
CIE-LCHlch(36.55, 68.07, 310.11°)
OKLaboklab(47.2% 0.083 -0.1482)
OKLCHoklch(47.2% 0.17 299.3)
XYZxyz(15.0281, 9.2976, 39.5230)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3CAB #7CAB3C
analogous
#3C45AB #6B3CAB #A23CAB
triadic
#6B3CAB #AB6B3C #3CAB6B
tetradic
#6B3CAB #AB3C45 #7CAB3C #3CABA2
square
#6B3CAB #AB3C45 #7CAB3C #3CABA2
split-complementary
#6B3CAB #ABA23C #45AB3C
monochromatic
#321C50 #4F2C7E #6B3CAB #8A5EC6 #AB8BD6

Accessibility & contrast

On white

7.34
#6B3CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B3CAB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3CAB#FFFFFF#000000##FFFFFF
##6B3CAB1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#5D556E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b3cab;
/* rgb */ color: rgb(107, 60, 171);
/* oklch */ color: oklch(47.2% 0.170 299.3);
Tailwind
colors: {
  custom: {
    50: '#9a74c5',
    500: '#6b3cab',
    950: '#000000',
  },
}
SCSS
$custom: #6b3cab;
$custom-light: #9a74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3cab",
  "rgb": {
    "r": 107,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 265.405,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47204,
    "c": 0.16983,
    "h": 299.3
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#6B3CAB
secondary
#A6C182
accent
#D8509E
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6B3CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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