#6A3BB1#6A3BB1

#6A3BB1 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.178 H 297.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6A3BB1
RGBrgb(106, 59, 177)
HSLhsl(264, 50%, 46%)
HSVhsv(264, 67%, 69%)
CMYKcmyk(40.1%, 66.7%, 0%, 30.6%)
CIE-LABlab(36.68, 45.76, -55.43)
CIE-LCHlch(36.68, 71.88, 309.54°)
OKLaboklab(47.41% 0.0821 -0.1581)
OKLCHoklch(47.41% 0.178 297.4)
XYZxyz(15.4416, 9.3662, 42.5807)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BB1 #82B13B
analogous
#3B47B1 #6A3BB1 #A53BB1
triadic
#6A3BB1 #B16A3B #3BB16A
tetradic
#6A3BB1 #B13B47 #82B13B #3BB1A5
square
#6A3BB1 #B13B47 #82B13B #3BB1A5
split-complementary
#6A3BB1 #B1A53B #47B13B
monochromatic
#331C55 #4F2C83 #6A3BB1 #8A5FCA #AB8DD9

Accessibility & contrast

On white

7.31
#6A3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6A3BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3BB1
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BB1#FFFFFF#000000##FFFFFF
##6A3BB11.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#595771
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a3bb1;
/* rgb */ color: rgb(106, 59, 177);
/* oklch */ color: oklch(47.4% 0.178 297.4);
Tailwind
colors: {
  custom: {
    50: '#9a74c9',
    500: '#6a3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bb1;
$custom-light: #9a74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bb1",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 263.898,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47409,
    "c": 0.17813,
    "h": 297.4
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#6A3BB1
secondary
#AAC484
accent
#DA4EA2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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