#6A3EC8#6A3EC8

#6A3EC8 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.7% C 0.201 H 292.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6A3EC8
RGBrgb(106, 62, 200)
HSLhsl(259, 56%, 51%)
HSVhsv(259, 69%, 78%)
CMYKcmyk(47%, 69%, 0%, 21.6%)
CIE-LABlab(39.03, 50.39, -65.11)
CIE-LCHlch(39.03, 82.33, 307.74°)
OKLaboklab(49.66% 0.0756 -0.1865)
OKLCHoklch(49.66% 0.201 292.1)
XYZxyz(18.0889, 10.6789, 55.7405)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EC8 #9CC83E
analogous
#3E57C8 #6A3EC8 #AF3EC8
triadic
#6A3EC8 #C86A3E #3EC86A
tetradic
#6A3EC8 #C83E57 #9CC83E #3EC8AF
square
#6A3EC8 #C83E57 #9CC83E #3EC8AF
split-complementary
#6A3EC8 #C8AF3E #57C83E
monochromatic
#381F6D #502D9C #6A3EC8 #8F6ED6 #B49DE3

Accessibility & contrast

On white

6.70
#6A3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6A3EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EC8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EC8#FFFFFF#000000##FFFFFF
##6A3EC81.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#4D617E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a3ec8;
/* rgb */ color: rgb(106, 62, 200);
/* oklch */ color: oklch(49.7% 0.201 292.1);
Tailwind
colors: {
  custom: {
    50: '#9d77da',
    500: '#6a3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ec8;
$custom-light: #9d77da;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ec8",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 259.13,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.20128,
    "h": 292.1
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#6A3EC8
secondary
#BCCF92
accent
#DF49AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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