#6A3FCA#6A3FCA

#6A3FCA is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.0% C 0.202 H 291.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6A3FCA
RGBrgb(106, 63, 202)
HSLhsl(259, 57%, 52%)
HSVhsv(259, 69%, 79%)
CMYKcmyk(47.5%, 68.8%, 0%, 20.8%)
CIE-LABlab(39.38, 50.42, -65.70)
CIE-LCHlch(39.38, 82.81, 307.50°)
OKLaboklab(49.95% 0.0743 -0.1883)
OKLCHoklch(49.95% 0.202 291.5)
XYZxyz(18.3790, 10.8828, 56.9979)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FCA #9FCA3F
analogous
#3F5ACA #6A3FCA #B03FCA
triadic
#6A3FCA #CA6A3F #3FCA6A
tetradic
#6A3FCA #CA3F5A #9FCA3F #3FCAB0
square
#6A3FCA #CA3F5A #9FCA3F #3FCAB0
split-complementary
#6A3FCA #CAB03F #5ACA3F
monochromatic
#381F70 #502CA0 #6A3FCA #8F6FD7 #B49FE4

Accessibility & contrast

On white

6.61
#6A3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6A3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FCA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FCA#FFFFFF#000000##FFFFFF
##6A3FCA1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#4C6280
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a3fca;
/* rgb */ color: rgb(106, 63, 202);
/* oklch */ color: oklch(50.0% 0.202 291.5);
Tailwind
colors: {
  custom: {
    50: '#9d77db',
    500: '#6a3fca',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fca;
$custom-light: #9d77db;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fca",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 258.561,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49953,
    "c": 0.20243,
    "h": 291.5
  },
  "luminance": 0.10883
}

Semantic roles & 50–950 ramp

primary
#6A3FCA
secondary
#BED194
accent
#E048B1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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