#6A3FD5#6A3FD5

#6A3FD5 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.215 H 289.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6A3FD5
RGBrgb(106, 63, 213)
HSLhsl(257, 64%, 54%)
HSVhsv(257, 70%, 84%)
CMYKcmyk(50.2%, 70.4%, 0%, 16.5%)
CIE-LABlab(40.28, 53.44, -70.58)
CIE-LCHlch(40.28, 88.53, 307.13°)
OKLaboklab(50.87% 0.0723 -0.2026)
OKLCHoklch(50.87% 0.215 289.6)
XYZxyz(19.7281, 11.4224, 64.1031)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FD5 #AAD53F
analogous
#3F5FD5 #6A3FD5 #B53FD5
triadic
#6A3FD5 #D56A3F #3FD56A
tetradic
#6A3FD5 #D53F5F #AAD53F #3FD5B5
square
#6A3FD5 #D53F5F #AAD53F #3FD5B5
split-complementary
#6A3FD5 #D5B53F #5FD53F
monochromatic
#381C7E #4E27B0 #6A3FD5 #9171E0 #B8A3EB

Accessibility & contrast

On white

6.39
#6A3FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6A3FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FD5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FD5#FFFFFF#000000##FFFFFF
##6A3FD51.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#446686
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6a3fd5;
/* rgb */ color: rgb(106, 63, 213);
/* oklch */ color: oklch(50.9% 0.215 289.6);
Tailwind
colors: {
  custom: {
    50: '#9e78e3',
    500: '#6a3fd5',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fd5;
$custom-light: #9e78e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fd5",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 257.2,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.21514,
    "h": 289.6
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A3FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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