#6A3FE0#6A3FE0

#6A3FE0 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.228 H 287.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6A3FE0
RGBrgb(106, 63, 224)
HSLhsl(256, 72%, 56%)
HSVhsv(256, 72%, 88%)
CMYKcmyk(52.7%, 71.9%, 0%, 12.2%)
CIE-LABlab(41.22, 56.47, -75.36)
CIE-LCHlch(41.22, 94.17, 306.85°)
OKLaboklab(51.82% 0.07 -0.2166)
OKLCHoklch(51.82% 0.228 287.9)
XYZxyz(21.1719, 12.0000, 71.7072)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FE0 #B5E03F
analogous
#3F65E0 #6A3FE0 #BB3FE0
triadic
#6A3FE0 #E06A3F #3FE06A
tetradic
#6A3FE0 #E03F65 #B5E03F #3FE0BB
square
#6A3FE0 #E03F65 #B5E03F #3FE0BB
split-complementary
#6A3FE0 #E0BB3F #65E03F
monochromatic
#37178E #4B1FC2 #6A3FE0 #9374E9 #BCA8F1

Accessibility & contrast

On white

6.18
#6A3FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6A3FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FE0
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FE0#FFFFFF#000000##FFFFFF
##6A3FE01.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E5
Deuteranopia (green-blind)
#005DDD
Tritanopia (blue-blind)
#3B6A8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a3fe0;
/* rgb */ color: rgb(106, 63, 224);
/* oklch */ color: oklch(51.8% 0.228 287.9);
Tailwind
colors: {
  custom: {
    50: '#a078eb',
    500: '#6a3fe0',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fe0;
$custom-light: #a078eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fe0",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 224
  },
  "hsl": {
    "h": 256.025,
    "s": 72.197,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51823,
    "c": 0.22767,
    "h": 287.9
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#6A3FE0
secondary
#CDDF9C
accent
#EF39BE
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A3FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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