#6A3ECD#6A3ECD

#6A3ECD is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.1% C 0.207 H 291.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6A3ECD
RGBrgb(106, 62, 205)
HSLhsl(258, 59%, 52%)
HSVhsv(258, 70%, 80%)
CMYKcmyk(48.3%, 69.8%, 0%, 19.6%)
CIE-LABlab(39.44, 51.75, -67.35)
CIE-LCHlch(39.44, 84.94, 307.54°)
OKLaboklab(50.07% 0.0747 -0.1931)
OKLCHoklch(50.07% 0.207 291.1)
XYZxyz(18.6828, 10.9165, 58.8685)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3ECD #A1CD3E
analogous
#3E59CD #6A3ECD #B23ECD
triadic
#6A3ECD #CD6A3E #3ECD6A
tetradic
#6A3ECD #CD3E59 #A1CD3E #3ECDB2
square
#6A3ECD #CD3E59 #A1CD3E #3ECDB2
split-complementary
#6A3ECD #CDB23E #59CD3E
monochromatic
#381E73 #502AA3 #6A3ECD #906FDA #B59FE6

Accessibility & contrast

On white

6.60
#6A3ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6A3ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3ECD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3ECD#FFFFFF#000000##FFFFFF
##6A3ECD1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#4A6381
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a3ecd;
/* rgb */ color: rgb(106, 62, 205);
/* oklch */ color: oklch(50.1% 0.207 291.1);
Tailwind
colors: {
  custom: {
    50: '#9d77dd',
    500: '#6a3ecd',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ecd;
$custom-light: #9d77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ecd",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 258.462,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.20707,
    "h": 291.1
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#6A3ECD
secondary
#BFD394
accent
#E246B2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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