#6A3CB1#6A3CB1

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

Color values

HEX#6A3CB1
RGBrgb(106, 60, 177)
HSLhsl(264, 49%, 46%)
HSVhsv(264, 66%, 69%)
CMYKcmyk(40.1%, 66.1%, 0%, 30.6%)
CIE-LABlab(36.87, 45.23, -55.11)
CIE-LCHlch(36.87, 71.30, 309.37°)
OKLaboklab(47.55% 0.081 -0.1572)
OKLCHoklch(47.55% 0.177 297.3)
XYZxyz(15.4935, 9.4699, 42.5980)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CB1 #83B13C
analogous
#3C49B1 #6A3CB1 #A53CB1
triadic
#6A3CB1 #B16A3C #3CB16A
tetradic
#6A3CB1 #B13C49 #83B13C #3CB1A5
square
#6A3CB1 #B13C49 #83B13C #3CB1A5
split-complementary
#6A3CB1 #B1A53C #49B13C
monochromatic
#331D56 #4F2D83 #6A3CB1 #8A61C9 #AC8FD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A3CB1#FFFFFF#000000##FFFFFF
##6A3CB11.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)
#0057B5
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#595771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3cb1;
/* rgb */ color: rgb(106, 60, 177);
/* oklch */ color: oklch(47.5% 0.177 297.3);
Tailwind
colors: {
  custom: {
    50: '#9a75c9',
    500: '#6a3cb1',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cb1;
$custom-light: #9a75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cb1",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 263.59,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47549,
    "c": 0.17681,
    "h": 297.3
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#6A3CB1
secondary
#ABC485
accent
#D94FA3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A3CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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