#6A3BB5#6A3BB5

#6A3BB5 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.183 H 296.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6A3BB5
RGBrgb(106, 59, 181)
HSLhsl(263, 51%, 47%)
HSVhsv(263, 67%, 71%)
CMYKcmyk(41.4%, 67.4%, 0%, 29%)
CIE-LABlab(36.98, 46.82, -57.31)
CIE-LCHlch(36.98, 74.00, 309.25°)
OKLaboklab(47.72% 0.0815 -0.1636)
OKLCHoklch(47.72% 0.183 296.5)
XYZxyz(15.8461, 9.5280, 44.7113)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BB5 #86B53B
analogous
#3B49B5 #6A3BB5 #A73BB5
triadic
#6A3BB5 #B56A3B #3BB56A
tetradic
#6A3BB5 #B53B49 #86B53B #3BB5A7
square
#6A3BB5 #B53B49 #86B53B #3BB5A7
split-complementary
#6A3BB5 #B5A73B #49B53B
monochromatic
#341D59 #4F2C87 #6A3BB5 #8A62CC #AD90DB

Accessibility & contrast

On white

7.23
#6A3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6A3BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3BB5
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BB5#FFFFFF#000000##FFFFFF
##6A3BB51.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#575873
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3bb5;
/* rgb */ color: rgb(106, 59, 181);
/* oklch */ color: oklch(47.7% 0.183 296.5);
Tailwind
colors: {
  custom: {
    50: '#9b74cc',
    500: '#6a3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bb5;
$custom-light: #9b74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bb5",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 263.115,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47721,
    "c": 0.18282,
    "h": 296.5
  },
  "luminance": 0.09528
}

Semantic roles & 50–950 ramp

primary
#6A3BB5
secondary
#ADC686
accent
#DA4DA4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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