#6A3BDA#6A3BDA

#6A3BDA is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.225 H 289.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6A3BDA
RGBrgb(106, 59, 218)
HSLhsl(258, 68%, 54%)
HSVhsv(258, 73%, 85%)
CMYKcmyk(51.4%, 72.9%, 0%, 14.5%)
CIE-LABlab(40.00, 56.79, -73.91)
CIE-LCHlch(40.00, 93.21, 307.53°)
OKLaboklab(50.81% 0.0746 -0.2124)
OKLCHoklch(50.81% 0.225 289.3)
XYZxyz(20.1590, 11.2531, 67.4259)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BDA #ABDA3B
analogous
#3B5CDA #6A3BDA #BA3BDA
triadic
#6A3BDA #DA6A3B #3BDA6A
tetradic
#6A3BDA #DA3B5C #ABDA3B #3BDABA
square
#6A3BDA #DA3B5C #ABDA3B #3BDABA
split-complementary
#6A3BDA #DABA3B #5CDA3B
monochromatic
#381982 #4E22B6 #6A3BDA #916EE4 #B8A2ED

Accessibility & contrast

On white

6.46
#6A3BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6A3BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3BDA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BDA#FFFFFF#000000##FFFFFF
##6A3BDA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DF
Deuteranopia (green-blind)
#005AD7
Tritanopia (blue-blind)
#416687
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a3bda;
/* rgb */ color: rgb(106, 59, 218);
/* oklch */ color: oklch(50.8% 0.225 289.3);
Tailwind
colors: {
  custom: {
    50: '#9f75e7',
    500: '#6a3bda',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bda;
$custom-light: #9f75e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bda",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 218
  },
  "hsl": {
    "h": 257.736,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50807,
    "c": 0.22508,
    "h": 289.3
  },
  "luminance": 0.11254
}

Semantic roles & 50–950 ramp

primary
#6A3BDA
secondary
#C6DA97
accent
#EB3DB8
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A3BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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