#6B3CAE#6B3CAE

#6B3CAE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.173 H 298.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6B3CAE
RGBrgb(107, 60, 174)
HSLhsl(265, 49%, 46%)
HSVhsv(265, 66%, 68%)
CMYKcmyk(38.5%, 65.5%, 0%, 31.8%)
CIE-LABlab(36.77, 44.64, -53.50)
CIE-LCHlch(36.77, 69.68, 309.85°)
OKLaboklab(47.43% 0.0827 -0.1524)
OKLCHoklch(47.43% 0.173 298.5)
XYZxyz(15.3173, 9.4133, 41.0461)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3CAE #7FAE3C
analogous
#3C46AE #6B3CAE #A43CAE
triadic
#6B3CAE #AE6B3C #3CAE6B
tetradic
#6B3CAE #AE3C46 #7FAE3C #3CAEA4
square
#6B3CAE #AE3C46 #7FAE3C #3CAEA4
split-complementary
#6B3CAE #AEA43C #46AE3C
monochromatic
#331D53 #4F2C80 #6B3CAE #8A5FC8 #AC8DD8

Accessibility & contrast

On white

7.28
#6B3CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B3CAE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3CAE#FFFFFF#000000##FFFFFF
##6B3CAE1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#5B5670
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b3cae;
/* rgb */ color: rgb(107, 60, 174);
/* oklch */ color: oklch(47.4% 0.173 298.5);
Tailwind
colors: {
  custom: {
    50: '#9a75c7',
    500: '#6b3cae',
    950: '#000000',
  },
}
SCSS
$custom: #6b3cae;
$custom-light: #9a75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3cae",
  "rgb": {
    "r": 107,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 264.737,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47429,
    "c": 0.17338,
    "h": 298.5
  },
  "luminance": 0.09414
}

Semantic roles & 50–950 ramp

primary
#6B3CAE
secondary
#A8C283
accent
#D850A0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B3CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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