#6A3FC5#6A3FC5

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

Color values

HEX#6A3FC5
RGBrgb(106, 63, 197)
HSLhsl(259, 54%, 51%)
HSVhsv(259, 68%, 77%)
CMYKcmyk(46.2%, 68%, 0%, 22.7%)
CIE-LABlab(38.98, 49.05, -63.44)
CIE-LCHlch(38.98, 80.19, 307.71°)
OKLaboklab(49.55% 0.0751 -0.1817)
OKLCHoklch(49.55% 0.197 292.5)
XYZxyz(17.7966, 10.6498, 53.9304)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FC5 #9AC53F
analogous
#3F57C5 #6A3FC5 #AD3FC5
triadic
#6A3FC5 #C56A3F #3FC56A
tetradic
#6A3FC5 #C53F57 #9AC53F #3FC5AD
square
#6A3FC5 #C53F57 #9AC53F #3FC5AD
split-complementary
#6A3FC5 #C5AD3F #57C53F
monochromatic
#38206A #502E99 #6A3FC5 #8E6ED3 #B39DE1

Accessibility & contrast

On white

6.71
#6A3FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6A3FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FC5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FC5#FFFFFF#000000##FFFFFF
##6A3FC51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#4F607D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a3fc5;
/* rgb */ color: rgb(106, 63, 197);
/* oklch */ color: oklch(49.5% 0.197 292.5);
Tailwind
colors: {
  custom: {
    50: '#9c77d8',
    500: '#6a3fc5',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fc5;
$custom-light: #9c77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fc5",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 259.254,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49545,
    "c": 0.19657,
    "h": 292.5
  },
  "luminance": 0.1065
}

Semantic roles & 50–950 ramp

primary
#6A3FC5
secondary
#BBCE92
accent
#DD4BAE
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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