#6A3DB5#6A3DB5

#6A3DB5 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.180 H 296.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6A3DB5
RGBrgb(106, 61, 181)
HSLhsl(263, 50%, 47%)
HSVhsv(263, 66%, 71%)
CMYKcmyk(41.4%, 66.3%, 0%, 29%)
CIE-LABlab(37.37, 45.76, -56.68)
CIE-LCHlch(37.37, 72.85, 308.92°)
OKLaboklab(48% 0.0794 -0.1618)
OKLCHoklch(48% 0.18 296.1)
XYZxyz(15.9509, 9.7375, 44.7462)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DB5 #88B53D
analogous
#3D4CB5 #6A3DB5 #A63DB5
triadic
#6A3DB5 #B56A3D #3DB56A
tetradic
#6A3DB5 #B53D4C #88B53D #3DB5A6
square
#6A3DB5 #B53D4C #88B53D #3DB5A6
split-complementary
#6A3DB5 #B5A63D #4CB53D
monochromatic
#341E59 #4F2E87 #6A3DB5 #8B64CB #AD92DA

Accessibility & contrast

On white

7.12
#6A3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A3DB5
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DB5#FFFFFF#000000##FFFFFF
##6A3DB51.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#575974
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a3db5;
/* rgb */ color: rgb(106, 61, 181);
/* oklch */ color: oklch(48.0% 0.180 296.1);
Tailwind
colors: {
  custom: {
    50: '#9a75cc',
    500: '#6a3db5',
    950: '#000000',
  },
}
SCSS
$custom: #6a3db5;
$custom-light: #9a75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3db5",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 262.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47998,
    "c": 0.18022,
    "h": 296.1
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#6A3DB5
secondary
#AFC588
accent
#D94FA5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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