#6A3FE1#6A3FE1

#6A3FE1 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.229 H 287.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6A3FE1
RGBrgb(106, 63, 225)
HSLhsl(256, 73%, 56%)
HSVhsv(256, 72%, 88%)
CMYKcmyk(52.9%, 72%, 0%, 11.8%)
CIE-LABlab(41.30, 56.75, -75.79)
CIE-LCHlch(41.30, 94.68, 306.83°)
OKLaboklab(51.91% 0.0698 -0.2179)
OKLCHoklch(51.91% 0.229 287.8)
XYZxyz(21.3080, 12.0544, 72.4235)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FE1 #B6E13F
analogous
#3F65E1 #6A3FE1 #BB3FE1
triadic
#6A3FE1 #E16A3F #3FE16A
tetradic
#6A3FE1 #E13F65 #B6E13F #3FE1BB
square
#6A3FE1 #E13F65 #B6E13F #3FE1BB
split-complementary
#6A3FE1 #E1BB3F #65E13F
monochromatic
#36168F #4B1FC4 #6A3FE1 #9374E9 #BCA9F2

Accessibility & contrast

On white

6.16
#6A3FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6A3FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FE1
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FE1#FFFFFF#000000##FFFFFF
##6A3FE11.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#3A6B8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a3fe1;
/* rgb */ color: rgb(106, 63, 225);
/* oklch */ color: oklch(51.9% 0.229 287.8);
Tailwind
colors: {
  custom: {
    50: '#a078ec',
    500: '#6a3fe1',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fe1;
$custom-light: #a078ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fe1",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 225
  },
  "hsl": {
    "h": 255.926,
    "s": 72.973,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.2288,
    "h": 287.8
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#6A3FE1
secondary
#CEDF9D
accent
#F038BF
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A3FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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