#6A3DB9#6A3DB9

#6A3DB9 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.185 H 295.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6A3DB9
RGBrgb(106, 61, 185)
HSLhsl(262, 50%, 48%)
HSVhsv(262, 67%, 73%)
CMYKcmyk(42.7%, 67%, 0%, 27.5%)
CIE-LABlab(37.67, 46.84, -58.55)
CIE-LCHlch(37.67, 74.98, 308.66°)
OKLaboklab(48.31% 0.0789 -0.1673)
OKLCHoklch(48.31% 0.185 295.2)
XYZxyz(16.3672, 9.9041, 46.9389)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DB9 #8CB93D
analogous
#3D4EB9 #6A3DB9 #A83DB9
triadic
#6A3DB9 #B96A3D #3DB96A
tetradic
#6A3DB9 #B93D4E #8CB93D #3DB9A8
square
#6A3DB9 #B93D4E #8CB93D #3DB9A8
split-complementary
#6A3DB9 #B9A83D #4EB93D
monochromatic
#351F5D #502E8B #6A3DB9 #8C66CD #AE95DC

Accessibility & contrast

On white

7.05
#6A3DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A3DB9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DB9#FFFFFF#000000##FFFFFF
##6A3DB91.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#555B76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a3db9;
/* rgb */ color: rgb(106, 61, 185);
/* oklch */ color: oklch(48.3% 0.185 295.2);
Tailwind
colors: {
  custom: {
    50: '#9b75cf',
    500: '#6a3db9',
    950: '#000000',
  },
}
SCSS
$custom: #6a3db9;
$custom-light: #9b75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3db9",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 261.774,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48311,
    "c": 0.18494,
    "h": 295.2
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#6A3DB9
secondary
#B1C78B
accent
#DA4EA7
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6A3DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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