#6A3DBE#6A3DBE

#6A3DBE is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.7% C 0.191 H 294.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#6A3DBE
RGBrgb(106, 61, 190)
HSLhsl(261, 51%, 49%)
HSVhsv(261, 68%, 75%)
CMYKcmyk(44.2%, 67.9%, 0%, 25.5%)
CIE-LABlab(38.05, 48.19, -60.86)
CIE-LCHlch(38.05, 77.63, 308.37°)
OKLaboklab(48.71% 0.0782 -0.1741)
OKLCHoklch(48.71% 0.191 294.2)
XYZxyz(16.9043, 10.1189, 49.7677)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DBE #91BE3D
analogous
#3D51BE #6A3DBE #AB3DBE
triadic
#6A3DBE #BE6A3D #3DBE6A
tetradic
#6A3DBE #BE3D51 #91BE3D #3DBEAB
square
#6A3DBE #BE3D51 #91BE3D #3DBEAB
split-complementary
#6A3DBE #BEAB3D #51BE3D
monochromatic
#361F61 #502E90 #6A3DBE #8D69CF #B098DE

Accessibility & contrast

On white

6.94
#6A3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6A3DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3DBE
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DBE#FFFFFF#000000##FFFFFF
##6A3DBE1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#525C78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a3dbe;
/* rgb */ color: rgb(106, 61, 190);
/* oklch */ color: oklch(48.7% 0.191 294.2);
Tailwind
colors: {
  custom: {
    50: '#9b76d2',
    500: '#6a3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #6a3dbe;
$custom-light: #9b76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3dbe",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 260.93,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48708,
    "c": 0.19083,
    "h": 294.2
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#6A3DBE
secondary
#B4C98D
accent
#DB4DA9
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6A3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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