#6A3EDC#6A3EDC

#6A3EDC is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.224 H 288.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6A3EDC
RGBrgb(106, 62, 220)
HSLhsl(257, 69%, 55%)
HSVhsv(257, 72%, 86%)
CMYKcmyk(51.8%, 71.8%, 0%, 13.7%)
CIE-LABlab(40.70, 55.87, -73.92)
CIE-LCHlch(40.70, 92.66, 307.08°)
OKLaboklab(51.35% 0.0717 -0.2124)
OKLCHoklch(51.35% 0.224 288.6)
XYZxyz(20.5810, 11.6758, 68.8655)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EDC #B0DC3E
analogous
#3E61DC #6A3EDC #B93EDC
triadic
#6A3EDC #DC6A3E #3EDC6A
tetradic
#6A3EDC #DC3E61 #B0DC3E #3EDCB9
square
#6A3EDC #DC3E61 #B0DC3E #3EDCB9
split-complementary
#6A3EDC #DCB93E #61DC3E
monochromatic
#371987 #4D22BB #6A3EDC #9272E5 #BAA6EF

Accessibility & contrast

On white

6.30
#6A3EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6A3EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EDC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EDC#FFFFFF#000000##FFFFFF
##6A3EDC1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E1
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#3F6889
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a3edc;
/* rgb */ color: rgb(106, 62, 220);
/* oklch */ color: oklch(51.3% 0.224 288.6);
Tailwind
colors: {
  custom: {
    50: '#9f77e8',
    500: '#6a3edc',
    950: '#000000',
  },
}
SCSS
$custom: #6a3edc;
$custom-light: #9f77e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3edc",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 220
  },
  "hsl": {
    "h": 256.709,
    "s": 69.298,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51349,
    "c": 0.2242,
    "h": 288.6
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#6A3EDC
secondary
#CADC9A
accent
#EC3CBB
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A3EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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