#6A3EC5#6A3EC5

#6A3EC5 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.198 H 292.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#6A3EC5
RGBrgb(106, 62, 197)
HSLhsl(260, 54%, 51%)
HSVhsv(260, 69%, 77%)
CMYKcmyk(46.2%, 68.5%, 0%, 22.7%)
CIE-LABlab(38.79, 49.57, -63.75)
CIE-LCHlch(38.79, 80.75, 307.87°)
OKLaboklab(49.41% 0.0761 -0.1826)
OKLCHoklch(49.41% 0.198 292.6)
XYZxyz(17.7417, 10.5401, 53.9121)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EC5 #99C53E
analogous
#3E55C5 #6A3EC5 #AE3EC5
triadic
#6A3EC5 #C56A3E #3EC56A
tetradic
#6A3EC5 #C53E55 #99C53E #3EC5AE
square
#6A3EC5 #C53E55 #99C53E #3EC5AE
split-complementary
#6A3EC5 #C5AE3E #55C53E
monochromatic
#382069 #502E98 #6A3EC5 #8E6DD3 #B39CE1

Accessibility & contrast

On white

6.76
#6A3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6A3EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EC5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EC5#FFFFFF#000000##FFFFFF
##6A3EC51.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a3ec5;
/* rgb */ color: rgb(106, 62, 197);
/* oklch */ color: oklch(49.4% 0.198 292.6);
Tailwind
colors: {
  custom: {
    50: '#9c76d8',
    500: '#6a3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ec5;
$custom-light: #9c76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ec5",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 259.556,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49409,
    "c": 0.19779,
    "h": 292.6
  },
  "luminance": 0.10541
}

Semantic roles & 50–950 ramp

primary
#6A3EC5
secondary
#BACD91
accent
#DD4BAD
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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