#6A3BBE#6A3BBE

#6A3BBE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.193 H 294.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6A3BBE
RGBrgb(106, 59, 190)
HSLhsl(262, 53%, 49%)
HSVhsv(262, 69%, 75%)
CMYKcmyk(44.2%, 68.9%, 0%, 25.5%)
CIE-LABlab(37.68, 49.23, -61.47)
CIE-LCHlch(37.68, 78.75, 308.69°)
OKLaboklab(48.44% 0.0802 -0.1759)
OKLCHoklch(48.44% 0.193 294.5)
XYZxyz(16.7996, 9.9094, 49.7328)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BBE #8FBE3B
analogous
#3B4EBE #6A3BBE #AC3BBE
triadic
#6A3BBE #BE6A3B #3BBE6A
tetradic
#6A3BBE #BE3B4E #8FBE3B #3BBEAC
square
#6A3BBE #BE3B4E #8FBE3B #3BBEAC
split-complementary
#6A3BBE #BEAC3B #4EBE3B
monochromatic
#361E61 #502C8F #6A3BBE #8C67D0 #AF95DE

Accessibility & contrast

On white

7.04
#6A3BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6A3BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3BBE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BBE#FFFFFF#000000##FFFFFF
##6A3BBE1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#535B78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a3bbe;
/* rgb */ color: rgb(106, 59, 190);
/* oklch */ color: oklch(48.4% 0.193 294.5);
Tailwind
colors: {
  custom: {
    50: '#9c74d3',
    500: '#6a3bbe',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bbe;
$custom-light: #9c74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bbe",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 261.527,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48439,
    "c": 0.19328,
    "h": 294.5
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#6A3BBE
secondary
#B3CA8B
accent
#DC4CA8
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A3BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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