#6A3FD3#6A3FD3

#6A3FD3 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.213 H 290.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6A3FD3
RGBrgb(106, 63, 211)
HSLhsl(257, 63%, 54%)
HSVhsv(257, 70%, 83%)
CMYKcmyk(49.8%, 70.1%, 0%, 17.3%)
CIE-LABlab(40.12, 52.89, -69.70)
CIE-LCHlch(40.12, 87.50, 307.19°)
OKLaboklab(50.71% 0.0727 -0.2001)
OKLCHoklch(50.71% 0.213 290)
XYZxyz(19.4759, 11.3215, 62.7745)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FD3 #A8D33F
analogous
#3F5ED3 #6A3FD3 #B43FD3
triadic
#6A3FD3 #D36A3F #3FD36A
tetradic
#6A3FD3 #D33F5E #A8D33F #3FD3B4
square
#6A3FD3 #D33F5E #A8D33F #3FD3B4
split-complementary
#6A3FD3 #D3B43F #5ED33F
monochromatic
#381C7B #4E28AD #6A3FD3 #9171DE #B7A3EA

Accessibility & contrast

On white

6.43
#6A3FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6A3FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FD3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FD3#FFFFFF#000000##FFFFFF
##6A3FD31.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#466585
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6a3fd3;
/* rgb */ color: rgb(106, 63, 211);
/* oklch */ color: oklch(50.7% 0.213 290.0);
Tailwind
colors: {
  custom: {
    50: '#9e78e2',
    500: '#6a3fd3',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fd3;
$custom-light: #9e78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fd3",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 211
  },
  "hsl": {
    "h": 257.432,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50705,
    "c": 0.21285,
    "h": 290
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#6A3FD3
secondary
#C4D797
accent
#E642B6
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6A3FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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