#6A3EBA#6A3EBA

#6A3EBA is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.185 H 294.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6A3EBA
RGBrgb(106, 62, 186)
HSLhsl(261, 50%, 49%)
HSVhsv(261, 67%, 73%)
CMYKcmyk(43%, 66.7%, 0%, 27.1%)
CIE-LABlab(37.94, 46.58, -58.70)
CIE-LCHlch(37.94, 74.94, 308.43°)
OKLaboklab(48.53% 0.0777 -0.1677)
OKLCHoklch(48.53% 0.185 294.9)
XYZxyz(16.5270, 10.0542, 47.5147)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EBA #8EBA3E
analogous
#3E50BA #6A3EBA #A83EBA
triadic
#6A3EBA #BA6A3E #3EBA6A
tetradic
#6A3EBA #BA3E50 #8EBA3E #3EBAA8
square
#6A3EBA #BA3E50 #8EBA3E #3EBAA8
split-complementary
#6A3EBA #BAA83E #50BA3E
monochromatic
#361F5E #502F8C #6A3EBA #8C68CD #AF96DC

Accessibility & contrast

On white

6.97
#6A3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6A3EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EBA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EBA#FFFFFF#000000##FFFFFF
##6A3EBA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#545C77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a3eba;
/* rgb */ color: rgb(106, 62, 186);
/* oklch */ color: oklch(48.5% 0.185 294.9);
Tailwind
colors: {
  custom: {
    50: '#9b76d0',
    500: '#6a3eba',
    950: '#000000',
  },
}
SCSS
$custom: #6a3eba;
$custom-light: #9b76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3eba",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 261.29,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48528,
    "c": 0.18485,
    "h": 294.9
  },
  "luminance": 0.10055
}

Semantic roles & 50–950 ramp

primary
#6A3EBA
secondary
#B3C88C
accent
#DA4EA8
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6A3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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