#6A3FD4#6A3FD4

#6A3FD4 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.8% C 0.214 H 289.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6A3FD4
RGBrgb(106, 63, 212)
HSLhsl(257, 63%, 54%)
HSVhsv(257, 70%, 83%)
CMYKcmyk(50%, 70.3%, 0%, 16.9%)
CIE-LABlab(40.20, 53.17, -70.14)
CIE-LCHlch(40.20, 88.02, 307.16°)
OKLaboklab(50.79% 0.0725 -0.2013)
OKLCHoklch(50.79% 0.214 289.8)
XYZxyz(19.6016, 11.3718, 63.4367)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FD4 #A9D43F
analogous
#3F5FD4 #6A3FD4 #B43FD4
triadic
#6A3FD4 #D46A3F #3FD46A
tetradic
#6A3FD4 #D43F5F #A9D43F #3FD4B4
square
#6A3FD4 #D43F5F #A9D43F #3FD4B4
split-complementary
#6A3FD4 #D4B43F #5FD43F
monochromatic
#381C7D #4E27AF #6A3FD4 #9171DF #B8A3EA

Accessibility & contrast

On white

6.41
#6A3FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6A3FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FD4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FD4#FFFFFF#000000##FFFFFF
##6A3FD41.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#456685
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6a3fd4;
/* rgb */ color: rgb(106, 63, 212);
/* oklch */ color: oklch(50.8% 0.214 289.8);
Tailwind
colors: {
  custom: {
    50: '#9e78e2',
    500: '#6a3fd4',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fd4;
$custom-light: #9e78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fd4",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 257.315,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50789,
    "c": 0.21399,
    "h": 289.8
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#6A3FD4
secondary
#C5D798
accent
#E641B7
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6A3FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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