#6A3CBB#6A3CBB

#6A3CBB is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.189 H 295.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6A3CBB
RGBrgb(106, 60, 187)
HSLhsl(262, 51%, 48%)
HSVhsv(262, 68%, 73%)
CMYKcmyk(43.3%, 67.9%, 0%, 26.7%)
CIE-LABlab(37.63, 47.90, -59.79)
CIE-LCHlch(37.63, 76.61, 308.70°)
OKLaboklab(48.33% 0.0796 -0.1709)
OKLCHoklch(48.33% 0.189 295)
XYZxyz(16.5270, 9.8833, 48.0410)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CBB #8DBB3C
analogous
#3C4EBB #6A3CBB #A93CBB
triadic
#6A3CBB #BB6A3C #3CBB6A
tetradic
#6A3CBB #BB3C4E #8DBB3C #3CBBA9
square
#6A3CBB #BB3C4E #8DBB3C #3CBBA9
split-complementary
#6A3CBB #BBA93C #4EBB3C
monochromatic
#351E5E #502D8D #6A3CBB #8C66CE #AF95DD

Accessibility & contrast

On white

7.05
#6A3CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6A3CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3CBB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CBB#FFFFFF#000000##FFFFFF
##6A3CBB1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#545B77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a3cbb;
/* rgb */ color: rgb(106, 60, 187);
/* oklch */ color: oklch(48.3% 0.189 295.0);
Tailwind
colors: {
  custom: {
    50: '#9b75d0',
    500: '#6a3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cbb;
$custom-light: #9b75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cbb",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 261.732,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.18856,
    "h": 295
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#6A3CBB
secondary
#B2C88B
accent
#DB4DA7
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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