#6A3ECC#6A3ECC

#6A3ECC is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.0% C 0.206 H 291.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#6A3ECC
RGBrgb(106, 62, 204)
HSLhsl(259, 58%, 52%)
HSVhsv(259, 70%, 80%)
CMYKcmyk(48%, 69.6%, 0%, 20%)
CIE-LABlab(39.36, 51.48, -66.90)
CIE-LCHlch(39.36, 84.41, 307.58°)
OKLaboklab(49.99% 0.0749 -0.1918)
OKLCHoklch(49.99% 0.206 291.3)
XYZxyz(18.5625, 10.8684, 58.2348)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3ECC #A0CC3E
analogous
#3E59CC #6A3ECC #B13ECC
triadic
#6A3ECC #CC6A3E #3ECC6A
tetradic
#6A3ECC #CC3E59 #A0CC3E #3ECCB1
square
#6A3ECC #CC3E59 #A0CC3E #3ECCB1
split-complementary
#6A3ECC #CCB13E #59CC3E
monochromatic
#381E72 #502BA2 #6A3ECC #8F6ED9 #B59FE6

Accessibility & contrast

On white

6.62
#6A3ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6A3ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3ECC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3ECC#FFFFFF#000000##FFFFFF
##6A3ECC1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#4A6280
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a3ecc;
/* rgb */ color: rgb(106, 62, 204);
/* oklch */ color: oklch(50.0% 0.206 291.3);
Tailwind
colors: {
  custom: {
    50: '#9d77dd',
    500: '#6a3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ecc;
$custom-light: #9d77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ecc",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 258.592,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.20591,
    "h": 291.3
  },
  "luminance": 0.10869
}

Semantic roles & 50–950 ramp

primary
#6A3ECC
secondary
#BFD294
accent
#E146B1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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