#6A3FD9#6A3FD9

#6A3FD9 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.220 H 289.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6A3FD9
RGBrgb(106, 63, 217)
HSLhsl(257, 67%, 55%)
HSVhsv(257, 71%, 85%)
CMYKcmyk(51.2%, 71%, 0%, 14.9%)
CIE-LABlab(40.62, 54.54, -72.33)
CIE-LCHlch(40.62, 90.59, 307.02°)
OKLaboklab(51.22% 0.0715 -0.2078)
OKLCHoklch(51.22% 0.22 289)
XYZxyz(20.2421, 11.6280, 66.8100)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FD9 #AED93F
analogous
#3F61D9 #6A3FD9 #B73FD9
triadic
#6A3FD9 #D96A3F #3FD96A
tetradic
#6A3FD9 #D93F61 #AED93F #3FD9B7
square
#6A3FD9 #D93F61 #AED93F #3FD9B7
split-complementary
#6A3FD9 #D9B73F #61D93F
monochromatic
#381A84 #4D24B7 #6A3FD9 #9272E3 #B9A5ED

Accessibility & contrast

On white

6.31
#6A3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6A3FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FD9
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FD9#FFFFFF#000000##FFFFFF
##6A3FD91.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#005CD6
Tritanopia (blue-blind)
#416888
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a3fd9;
/* rgb */ color: rgb(106, 63, 217);
/* oklch */ color: oklch(51.2% 0.220 289.0);
Tailwind
colors: {
  custom: {
    50: '#9f78e6',
    500: '#6a3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fd9;
$custom-light: #9f78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fd9",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 256.753,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51216,
    "c": 0.21972,
    "h": 289
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#6A3FD9
secondary
#C8DA9A
accent
#EA3EBA
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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