#6B3CAF#6B3CAF

#6B3CAF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.175 H 298.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6B3CAF
RGBrgb(107, 60, 175)
HSLhsl(265, 49%, 46%)
HSVhsv(265, 66%, 69%)
CMYKcmyk(38.9%, 65.7%, 0%, 31.4%)
CIE-LABlab(36.84, 44.91, -53.97)
CIE-LCHlch(36.84, 70.21, 309.76°)
OKLaboklab(47.51% 0.0826 -0.1538)
OKLCHoklch(47.51% 0.175 298.2)
XYZxyz(15.4152, 9.4524, 41.5615)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3CAF #80AF3C
analogous
#3C46AF #6B3CAF #A43CAF
triadic
#6B3CAF #AF6B3C #3CAF6B
tetradic
#6B3CAF #AF3C46 #80AF3C #3CAFA4
square
#6B3CAF #AF3C46 #80AF3C #3CAFA4
split-complementary
#6B3CAF #AFA43C #46AF3C
monochromatic
#331D54 #4F2C81 #6B3CAF #8B60C8 #AC8DD8

Accessibility & contrast

On white

7.26
#6B3CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6B3CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3CAF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3CAF#FFFFFF#000000##FFFFFF
##6B3CAF1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#5B5670
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3caf;
/* rgb */ color: rgb(107, 60, 175);
/* oklch */ color: oklch(47.5% 0.175 298.2);
Tailwind
colors: {
  custom: {
    50: '#9a75c8',
    500: '#6b3caf',
    950: '#000000',
  },
}
SCSS
$custom: #6b3caf;
$custom-light: #9a75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3caf",
  "rgb": {
    "r": 107,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 264.522,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47505,
    "c": 0.17456,
    "h": 298.2
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#6B3CAF
secondary
#A9C384
accent
#D84FA0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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