#6A3FBA#6A3FBA

#6A3FBA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.184 H 294.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#6A3FBA
RGBrgb(106, 63, 186)
HSLhsl(261, 49%, 49%)
HSVhsv(261, 66%, 73%)
CMYKcmyk(43%, 66.1%, 0%, 27.1%)
CIE-LABlab(38.13, 46.04, -58.38)
CIE-LCHlch(38.13, 74.35, 308.26°)
OKLaboklab(48.67% 0.0766 -0.1668)
OKLCHoklch(48.67% 0.184 294.7)
XYZxyz(16.5819, 10.1639, 47.5330)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FBA #8FBA3F
analogous
#3F51BA #6A3FBA #A83FBA
triadic
#6A3FBA #BA6A3F #3FBA6A
tetradic
#6A3FBA #BA3F51 #8FBA3F #3FBAA8
square
#6A3FBA #BA3F51 #8FBA3F #3FBAA8
split-complementary
#6A3FBA #BAA83F #51BA3F
monochromatic
#36205F #50308C #6A3FBA #8C6ACC #AF97DC

Accessibility & contrast

On white

6.92
#6A3FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6A3FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FBA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FBA#FFFFFF#000000##FFFFFF
##6A3FBA1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#545C77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a3fba;
/* rgb */ color: rgb(106, 63, 186);
/* oklch */ color: oklch(48.7% 0.184 294.7);
Tailwind
colors: {
  custom: {
    50: '#9b77d0',
    500: '#6a3fba',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fba;
$custom-light: #9b77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fba",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 260.976,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48669,
    "c": 0.18356,
    "h": 294.7
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

primary
#6A3FBA
secondary
#B3C88D
accent
#D94FA9
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6A3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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