#6A3BB9#6A3BB9

#6A3BB9 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.187 H 295.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#6A3BB9
RGBrgb(106, 59, 185)
HSLhsl(262, 52%, 48%)
HSVhsv(262, 68%, 73%)
CMYKcmyk(42.7%, 68.1%, 0%, 27.5%)
CIE-LABlab(37.29, 47.89, -59.17)
CIE-LCHlch(37.29, 76.12, 308.98°)
OKLaboklab(48.04% 0.081 -0.1691)
OKLCHoklch(48.04% 0.187 295.6)
XYZxyz(16.2625, 9.6945, 46.9039)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BB9 #8AB93B
analogous
#3B4BB9 #6A3BB9 #A93BB9
triadic
#6A3BB9 #B96A3B #3BB96A
tetradic
#6A3BB9 #B93B4B #8AB93B #3BB9A9
square
#6A3BB9 #B93B4B #8AB93B #3BB9A9
split-complementary
#6A3BB9 #B9A93B #4BB93B
monochromatic
#351D5C #4F2C8B #6A3BB9 #8B64CD #AE92DC

Accessibility & contrast

On white

7.15
#6A3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6A3BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3BB9
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BB9#FFFFFF#000000##FFFFFF
##6A3BB91.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#555975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a3bb9;
/* rgb */ color: rgb(106, 59, 185);
/* oklch */ color: oklch(48.0% 0.187 295.6);
Tailwind
colors: {
  custom: {
    50: '#9b74cf',
    500: '#6a3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bb9;
$custom-light: #9b74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bb9",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 262.381,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48037,
    "c": 0.18748,
    "h": 295.6
  },
  "luminance": 0.09695
}

Semantic roles & 50–950 ramp

primary
#6A3BB9
secondary
#B0C788
accent
#DB4DA6
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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