#6B3BAF#6B3BAF

#6B3BAF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.176 H 298.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6B3BAF
RGBrgb(107, 59, 175)
HSLhsl(265, 50%, 46%)
HSVhsv(265, 66%, 69%)
CMYKcmyk(38.9%, 66.3%, 0%, 31.4%)
CIE-LABlab(36.65, 45.44, -54.29)
CIE-LCHlch(36.65, 70.79, 309.93°)
OKLaboklab(47.37% 0.0837 -0.1547)
OKLCHoklch(47.37% 0.176 298.4)
XYZxyz(15.3633, 9.3487, 41.5442)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BAF #7FAF3B
analogous
#3B45AF #6B3BAF #A53BAF
triadic
#6B3BAF #AF6B3B #3BAF6B
tetradic
#6B3BAF #AF3B45 #7FAF3B #3BAFA5
square
#6B3BAF #AF3B45 #7FAF3B #3BAFA5
split-complementary
#6B3BAF #AFA53B #45AF3B
monochromatic
#331C53 #4F2C81 #6B3BAF #8A5EC9 #AC8CD8

Accessibility & contrast

On white

7.32
#6B3BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6B3BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3BAF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3BAF#FFFFFF#000000##FFFFFF
##6B3BAF1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b3baf;
/* rgb */ color: rgb(107, 59, 175);
/* oklch */ color: oklch(47.4% 0.176 298.4);
Tailwind
colors: {
  custom: {
    50: '#9b74c8',
    500: '#6b3baf',
    950: '#000000',
  },
}
SCSS
$custom: #6b3baf;
$custom-light: #9b74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3baf",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 264.828,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47365,
    "c": 0.1759,
    "h": 298.4
  },
  "luminance": 0.09349
}

Semantic roles & 50–950 ramp

primary
#6B3BAF
secondary
#A8C383
accent
#D94FA0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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