#6A3FC8#6A3FC8

#6A3FC8 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.8% C 0.200 H 291.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#6A3FC8
RGBrgb(106, 63, 200)
HSLhsl(259, 55%, 52%)
HSVhsv(259, 69%, 78%)
CMYKcmyk(47%, 68.5%, 0%, 21.6%)
CIE-LABlab(39.22, 49.87, -64.80)
CIE-LCHlch(39.22, 81.77, 307.58°)
OKLaboklab(49.79% 0.0746 -0.1857)
OKLCHoklch(49.79% 0.2 291.9)
XYZxyz(18.1438, 10.7887, 55.7588)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FC8 #9DC83F
analogous
#3F59C8 #6A3FC8 #AF3FC8
triadic
#6A3FC8 #C86A3F #3FC86A
tetradic
#6A3FC8 #C83F59 #9DC83F #3FC8AF
square
#6A3FC8 #C83F59 #9DC83F #3FC8AF
split-complementary
#6A3FC8 #C8AF3F #59C83F
monochromatic
#381F6D #502D9D #6A3FC8 #8F6FD6 #B49EE3

Accessibility & contrast

On white

6.65
#6A3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6A3FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FC8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FC8#FFFFFF#000000##FFFFFF
##6A3FC81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#4D617F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a3fc8;
/* rgb */ color: rgb(106, 63, 200);
/* oklch */ color: oklch(49.8% 0.200 291.9);
Tailwind
colors: {
  custom: {
    50: '#9c77da',
    500: '#6a3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fc8;
$custom-light: #9c77da;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fc8",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 258.832,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49789,
    "c": 0.20009,
    "h": 291.9
  },
  "luminance": 0.10789
}

Semantic roles & 50–950 ramp

primary
#6A3FC8
secondary
#BDD093
accent
#DF49B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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