#6A3FDA#6A3FDA

#6A3FDA is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.221 H 288.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6A3FDA
RGBrgb(106, 63, 218)
HSLhsl(257, 68%, 55%)
HSVhsv(257, 71%, 85%)
CMYKcmyk(51.4%, 71.1%, 0%, 14.5%)
CIE-LABlab(40.70, 54.82, -72.77)
CIE-LCHlch(40.70, 91.11, 306.99°)
OKLaboklab(51.3% 0.0713 -0.209)
OKLCHoklch(51.3% 0.221 288.8)
XYZxyz(20.3726, 11.6802, 67.4971)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FDA #AFDA3F
analogous
#3F62DA #6A3FDA #B73FDA
triadic
#6A3FDA #DA6A3F #3FDA6A
tetradic
#6A3FDA #DA3F62 #AFDA3F #3FDAB7
square
#6A3FDA #DA3F62 #AFDA3F #3FDAB7
split-complementary
#6A3FDA #DAB73F #62DA3F
monochromatic
#371A85 #4D24B8 #6A3FDA #9272E4 #BAA6EE

Accessibility & contrast

On white

6.29
#6A3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6A3FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FDA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FDA#FFFFFF#000000##FFFFFF
##6A3FDA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DF
Deuteranopia (green-blind)
#005CD7
Tritanopia (blue-blind)
#406888
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a3fda;
/* rgb */ color: rgb(106, 63, 218);
/* oklch */ color: oklch(51.3% 0.221 288.8);
Tailwind
colors: {
  custom: {
    50: '#9f78e7',
    500: '#6a3fda',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fda;
$custom-light: #9f78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fda",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 218
  },
  "hsl": {
    "h": 256.645,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51302,
    "c": 0.22086,
    "h": 288.8
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#6A3FDA
secondary
#C9DB9A
accent
#EB3DBA
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A3FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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