#6A3DB0#6A3DB0

#6A3DB0 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.174 H 297.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6A3DB0
RGBrgb(106, 61, 176)
HSLhsl(263, 49%, 46%)
HSVhsv(263, 65%, 69%)
CMYKcmyk(39.8%, 65.3%, 0%, 31%)
CIE-LABlab(37.00, 44.43, -54.32)
CIE-LCHlch(37.00, 70.18, 309.28°)
OKLaboklab(47.61% 0.08 -0.1548)
OKLCHoklch(47.61% 0.174 297.3)
XYZxyz(15.4471, 9.5360, 42.0927)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DB0 #83B03D
analogous
#3D4AB0 #6A3DB0 #A43DB0
triadic
#6A3DB0 #B06A3D #3DB06A
tetradic
#6A3DB0 #B03D4A #83B03D #3DB0A4
square
#6A3DB0 #B03D4A #83B03D #3DB0A4
split-complementary
#6A3DB0 #B0A43D #4AB03D
monochromatic
#331D55 #4F2D83 #6A3DB0 #8A62C8 #AC8FD8

Accessibility & contrast

On white

7.22
#6A3DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A3DB0
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DB0#FFFFFF#000000##FFFFFF
##6A3DB01.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#595771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3db0;
/* rgb */ color: rgb(106, 61, 176);
/* oklch */ color: oklch(47.6% 0.174 297.3);
Tailwind
colors: {
  custom: {
    50: '#9a75c8',
    500: '#6a3db0',
    950: '#000000',
  },
}
SCSS
$custom: #6a3db0;
$custom-light: #9a75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3db0",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 176
  },
  "hsl": {
    "h": 263.478,
    "s": 48.523,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47614,
    "c": 0.17428,
    "h": 297.3
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#6A3DB0
secondary
#ABC386
accent
#D850A3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6A3DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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