#6A3EB9#6A3EB9

#6A3EB9 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.184 H 295.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6A3EB9
RGBrgb(106, 62, 185)
HSLhsl(261, 50%, 48%)
HSVhsv(261, 66%, 73%)
CMYKcmyk(42.7%, 66.5%, 0%, 27.5%)
CIE-LABlab(37.86, 46.31, -58.24)
CIE-LCHlch(37.86, 74.40, 308.49°)
OKLaboklab(48.45% 0.0778 -0.1664)
OKLCHoklch(48.45% 0.184 295.1)
XYZxyz(16.4211, 10.0118, 46.9568)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EB9 #8DB93E
analogous
#3E4FB9 #6A3EB9 #A73EB9
triadic
#6A3EB9 #B96A3E #3EB96A
tetradic
#6A3EB9 #B93E4F #8DB93E #3EB9A7
square
#6A3EB9 #B93E4F #8DB93E #3EB9A7
split-complementary
#6A3EB9 #B9A73E #4FB93E
monochromatic
#351F5D #502F8B #6A3EB9 #8C68CC #AF96DC

Accessibility & contrast

On white

6.99
#6A3EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#6A3EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EB9
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EB9#FFFFFF#000000##FFFFFF
##6A3EB91.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.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: #6a3eb9;
/* rgb */ color: rgb(106, 62, 185);
/* oklch */ color: oklch(48.4% 0.184 295.1);
Tailwind
colors: {
  custom: {
    50: '#9b76cf',
    500: '#6a3eb9',
    950: '#000000',
  },
}
SCSS
$custom: #6a3eb9;
$custom-light: #9b76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3eb9",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 261.463,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4845,
    "c": 0.18367,
    "h": 295.1
  },
  "luminance": 0.10012
}

Semantic roles & 50–950 ramp

primary
#6A3EB9
secondary
#B2C78C
accent
#D94EA8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6A3EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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