#6A3ABD#6A3ABD

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

Color values

HEX#6A3ABD
RGBrgb(106, 58, 189)
HSLhsl(262, 53%, 48%)
HSVhsv(262, 69%, 74%)
CMYKcmyk(43.9%, 69.3%, 0%, 25.9%)
CIE-LABlab(37.42, 49.47, -61.32)
CIE-LCHlch(37.42, 78.78, 308.90°)
OKLaboklab(48.23% 0.0813 -0.1754)
OKLCHoklch(48.23% 0.193 294.9)
XYZxyz(16.6398, 9.7640, 49.1422)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3ABD #8DBD3A
analogous
#3A4BBD #6A3ABD #AB3ABD
triadic
#6A3ABD #BD6A3A #3ABD6A
tetradic
#6A3ABD #BD3A4B #8DBD3A #3ABDAB
square
#6A3ABD #BD3A4B #8DBD3A #3ABDAB
split-complementary
#6A3ABD #BDAB3A #4BBD3A
monochromatic
#351D5F #502C8E #6A3ABD #8C65D0 #AF93DE

Accessibility & contrast

On white

7.11
#6A3ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6A3ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3ABD
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3ABD#FFFFFF#000000##FFFFFF
##6A3ABD1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#535A77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a3abd;
/* rgb */ color: rgb(106, 58, 189);
/* oklch */ color: oklch(48.2% 0.193 294.9);
Tailwind
colors: {
  custom: {
    50: '#9b74d2',
    500: '#6a3abd',
    950: '#000000',
  },
}
SCSS
$custom: #6a3abd;
$custom-light: #9b74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3abd",
  "rgb": {
    "r": 106,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 261.985,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.19335,
    "h": 294.9
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#6A3ABD
secondary
#B2C98A
accent
#DC4BA7
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A3ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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