#6A3DB3#6A3DB3

#6A3DB3 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.8% C 0.178 H 296.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6A3DB3
RGBrgb(106, 61, 179)
HSLhsl(263, 49%, 47%)
HSVhsv(263, 66%, 70%)
CMYKcmyk(40.8%, 65.9%, 0%, 29.8%)
CIE-LABlab(37.22, 45.23, -55.74)
CIE-LCHlch(37.22, 71.78, 309.06°)
OKLaboklab(47.84% 0.0796 -0.159)
OKLCHoklch(47.84% 0.178 296.6)
XYZxyz(15.7472, 9.6560, 43.6732)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DB3 #86B33D
analogous
#3D4BB3 #6A3DB3 #A53DB3
triadic
#6A3DB3 #B36A3D #3DB36A
tetradic
#6A3DB3 #B33D4B #86B33D #3DB3A5
square
#6A3DB3 #B33D4B #86B33D #3DB3A5
split-complementary
#6A3DB3 #B3A53D #4BB33D
monochromatic
#341E58 #4F2D85 #6A3DB3 #8A63CA #AD91D9

Accessibility & contrast

On white

7.16
#6A3DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6A3DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3DB3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DB3#FFFFFF#000000##FFFFFF
##6A3DB31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#585873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a3db3;
/* rgb */ color: rgb(106, 61, 179);
/* oklch */ color: oklch(47.8% 0.178 296.6);
Tailwind
colors: {
  custom: {
    50: '#9a75cb',
    500: '#6a3db3',
    950: '#000000',
  },
}
SCSS
$custom: #6a3db3;
$custom-light: #9a75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3db3",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 262.881,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47844,
    "c": 0.17784,
    "h": 296.6
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#6A3DB3
secondary
#ADC587
accent
#D94FA4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A3DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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