#6A3FC4#6A3FC4

#6A3FC4 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.195 H 292.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6A3FC4
RGBrgb(106, 63, 196)
HSLhsl(259, 53%, 51%)
HSVhsv(259, 68%, 77%)
CMYKcmyk(45.9%, 67.9%, 0%, 23.1%)
CIE-LABlab(38.91, 48.77, -62.99)
CIE-LCHlch(38.91, 79.66, 307.75°)
OKLaboklab(49.46% 0.0753 -0.1803)
OKLCHoklch(49.46% 0.195 292.7)
XYZxyz(17.6824, 10.6041, 53.3290)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FC4 #99C43F
analogous
#3F57C4 #6A3FC4 #AC3FC4
triadic
#6A3FC4 #C46A3F #3FC46A
tetradic
#6A3FC4 #C43F57 #99C43F #3FC4AC
square
#6A3FC4 #C43F57 #99C43F #3FC4AC
split-complementary
#6A3FC4 #C4AC3F #57C43F
monochromatic
#382068 #502E97 #6A3FC4 #8E6ED2 #B39DE1

Accessibility & contrast

On white

6.73
#6A3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6A3FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FC4
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FC4#FFFFFF#000000##FFFFFF
##6A3FC41.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#4F607C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a3fc4;
/* rgb */ color: rgb(106, 63, 196);
/* oklch */ color: oklch(49.5% 0.195 292.7);
Tailwind
colors: {
  custom: {
    50: '#9c77d7',
    500: '#6a3fc4',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fc4;
$custom-light: #9c77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fc4",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 259.398,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49464,
    "c": 0.1954,
    "h": 292.7
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

primary
#6A3FC4
secondary
#BACD92
accent
#DC4BAE
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6A3FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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