#6A3BB3#6A3BB3

#6A3BB3 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.180 H 297.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6A3BB3
RGBrgb(106, 59, 179)
HSLhsl(264, 50%, 47%)
HSVhsv(264, 67%, 70%)
CMYKcmyk(40.8%, 67%, 0%, 29.8%)
CIE-LABlab(36.83, 46.29, -56.37)
CIE-LCHlch(36.83, 72.94, 309.39°)
OKLaboklab(47.57% 0.0818 -0.1609)
OKLCHoklch(47.57% 0.18 297)
XYZxyz(15.6424, 9.4465, 43.6383)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BB3 #84B33B
analogous
#3B48B3 #6A3BB3 #A63BB3
triadic
#6A3BB3 #B36A3B #3BB36A
tetradic
#6A3BB3 #B33B48 #84B33B #3BB3A6
square
#6A3BB3 #B33B48 #84B33B #3BB3A6
split-complementary
#6A3BB3 #B3A63B #48B33B
monochromatic
#331D57 #4F2C85 #6A3BB3 #8A60CB #AC8EDA

Accessibility & contrast

On white

7.27
#6A3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A3BB3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BB3#FFFFFF#000000##FFFFFF
##6A3BB31.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#585772
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3bb3;
/* rgb */ color: rgb(106, 59, 179);
/* oklch */ color: oklch(47.6% 0.180 297.0);
Tailwind
colors: {
  custom: {
    50: '#9a74cb',
    500: '#6a3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bb3;
$custom-light: #9a74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bb3",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 263.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47565,
    "c": 0.18047,
    "h": 297
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#6A3BB3
secondary
#ACC585
accent
#DA4EA3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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