#6A3BBB#6A3BBB

#6A3BBB is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.190 H 295.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6A3BBB
RGBrgb(106, 59, 187)
HSLhsl(262, 52%, 48%)
HSVhsv(262, 68%, 73%)
CMYKcmyk(43.3%, 68.4%, 0%, 26.7%)
CIE-LABlab(37.44, 48.42, -60.10)
CIE-LCHlch(37.44, 77.18, 308.86°)
OKLaboklab(48.2% 0.0807 -0.1718)
OKLCHoklch(48.2% 0.19 295.1)
XYZxyz(16.4751, 9.7796, 48.0237)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BBB #8CBB3B
analogous
#3B4CBB #6A3BBB #AA3BBB
triadic
#6A3BBB #BB6A3B #3BBB6A
tetradic
#6A3BBB #BB3B4C #8CBB3B #3BBBAA
square
#6A3BBB #BB3B4C #8CBB3B #3BBBAA
split-complementary
#6A3BBB #BBAA3B #4CBB3B
monochromatic
#351E5E #502C8C #6A3BBB #8C65CE #AE93DD

Accessibility & contrast

On white

7.10
#6A3BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6A3BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3BBB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BBB#FFFFFF#000000##FFFFFF
##6A3BBB1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#545A76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a3bbb;
/* rgb */ color: rgb(106, 59, 187);
/* oklch */ color: oklch(48.2% 0.190 295.1);
Tailwind
colors: {
  custom: {
    50: '#9b74d0',
    500: '#6a3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bbb;
$custom-light: #9b74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bbb",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 262.031,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48197,
    "c": 0.18981,
    "h": 295.1
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#6A3BBB
secondary
#B1C88A
accent
#DB4CA7
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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