#6A3FD6#6A3FD6

#6A3FD6 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.216 H 289.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6A3FD6
RGBrgb(106, 63, 214)
HSLhsl(257, 65%, 54%)
HSVhsv(257, 71%, 84%)
CMYKcmyk(50.5%, 70.6%, 0%, 16.1%)
CIE-LABlab(40.37, 53.72, -71.02)
CIE-LCHlch(40.37, 89.05, 307.10°)
OKLaboklab(50.96% 0.0721 -0.2039)
OKLCHoklch(50.96% 0.216 289.5)
XYZxyz(19.8555, 11.4734, 64.7737)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FD6 #ABD63F
analogous
#3F60D6 #6A3FD6 #B63FD6
triadic
#6A3FD6 #D66A3F #3FD66A
tetradic
#6A3FD6 #D63F60 #ABD63F #3FD6B6
square
#6A3FD6 #D63F60 #ABD63F #3FD6B6
split-complementary
#6A3FD6 #D6B63F #60D63F
monochromatic
#381B7F #4E26B2 #6A3FD6 #9171E1 #B8A4EC

Accessibility & contrast

On white

6.37
#6A3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6A3FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FD6
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FD6#FFFFFF#000000##FFFFFF
##6A3FD61.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#005BD3
Tritanopia (blue-blind)
#436686
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6a3fd6;
/* rgb */ color: rgb(106, 63, 214);
/* oklch */ color: oklch(51.0% 0.216 289.5);
Tailwind
colors: {
  custom: {
    50: '#9e78e4',
    500: '#6a3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fd6;
$custom-light: #9e78e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fd6",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 257.086,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50959,
    "c": 0.21629,
    "h": 289.5
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#6A3FD6
secondary
#C6D898
accent
#E840B8
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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