#6A3CB0#6A3CB0

#6A3CB0 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.176 H 297.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6A3CB0
RGBrgb(106, 60, 176)
HSLhsl(264, 49%, 46%)
HSVhsv(264, 66%, 69%)
CMYKcmyk(39.8%, 65.9%, 0%, 31%)
CIE-LABlab(36.80, 44.96, -54.64)
CIE-LCHlch(36.80, 70.76, 309.45°)
OKLaboklab(47.47% 0.0811 -0.1558)
OKLCHoklch(47.47% 0.176 297.5)
XYZxyz(15.3942, 9.4302, 42.0750)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CB0 #82B03C
analogous
#3C48B0 #6A3CB0 #A43CB0
triadic
#6A3CB0 #B06A3C #3CB06A
tetradic
#6A3CB0 #B03C48 #82B03C #3CB0A4
square
#6A3CB0 #B03C48 #82B03C #3CB0A4
split-complementary
#6A3CB0 #B0A43C #48B03C
monochromatic
#331D55 #4F2C82 #6A3CB0 #8A60C9 #AB8ED8

Accessibility & contrast

On white

7.28
#6A3CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A3CB0
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CB0#FFFFFF#000000##FFFFFF
##6A3CB01.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#595771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3cb0;
/* rgb */ color: rgb(106, 60, 176);
/* oklch */ color: oklch(47.5% 0.176 297.5);
Tailwind
colors: {
  custom: {
    50: '#9a75c8',
    500: '#6a3cb0',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cb0;
$custom-light: #9a75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cb0",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 263.793,
    "s": 49.153,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.17562,
    "h": 297.5
  },
  "luminance": 0.0943
}

Semantic roles & 50–950 ramp

primary
#6A3CB0
secondary
#AAC385
accent
#D94FA2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6A3CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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