#6A3FCD#6A3FCD

#6A3FCD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.2% C 0.206 H 291.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6A3FCD
RGBrgb(106, 63, 205)
HSLhsl(258, 59%, 53%)
HSVhsv(258, 69%, 80%)
CMYKcmyk(48.3%, 69.3%, 0%, 19.6%)
CIE-LABlab(39.62, 51.24, -67.04)
CIE-LCHlch(39.62, 84.38, 307.39°)
OKLaboklab(50.2% 0.0738 -0.1922)
OKLCHoklch(50.2% 0.206 291)
XYZxyz(18.7377, 11.0262, 58.8868)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FCD #A2CD3F
analogous
#3F5BCD #6A3FCD #B13FCD
triadic
#6A3FCD #CD6A3F #3FCD6A
tetradic
#6A3FCD #CD3F5B #A2CD3F #3FCDB1
square
#6A3FCD #CD3F5B #A2CD3F #3FCDB1
split-complementary
#6A3FCD #CDB13F #5BCD3F
monochromatic
#381E74 #4F2BA4 #6A3FCD #9070DA #B5A0E6

Accessibility & contrast

On white

6.55
#6A3FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6A3FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FCD
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FCD#FFFFFF#000000##FFFFFF
##6A3FCD1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#4A6381
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a3fcd;
/* rgb */ color: rgb(106, 63, 205);
/* oklch */ color: oklch(50.2% 0.206 291.0);
Tailwind
colors: {
  custom: {
    50: '#9d77dd',
    500: '#6a3fcd',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fcd;
$custom-light: #9d77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fcd",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 258.169,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50202,
    "c": 0.20592,
    "h": 291
  },
  "luminance": 0.11027
}

Semantic roles & 50–950 ramp

primary
#6A3FCD
secondary
#C0D395
accent
#E246B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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