#6D3ECA#6D3ECA

#6D3ECA is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.1% C 0.204 H 293.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#6D3ECA
RGBrgb(109, 62, 202)
HSLhsl(260, 57%, 52%)
HSVhsv(260, 69%, 79%)
CMYKcmyk(46%, 69.3%, 0%, 20.8%)
CIE-LABlab(39.51, 51.46, -65.47)
CIE-LCHlch(39.51, 83.27, 308.17°)
OKLaboklab(50.12% 0.0795 -0.1875)
OKLCHoklch(50.12% 0.204 293)
XYZxyz(18.6870, 10.9601, 56.9966)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3ECA #9BCA3E
analogous
#3E55CA #6D3ECA #B33ECA
triadic
#6D3ECA #CA6D3E #3ECA6D
tetradic
#6D3ECA #CA3E55 #9BCA3E #3ECAB3
square
#6D3ECA #CA3E55 #9BCA3E #3ECAB3
split-complementary
#6D3ECA #CAB33E #55CA3E
monochromatic
#3A1F6F #522C9F #6D3ECA #916ED7 #B69EE4

Accessibility & contrast

On white

6.58
#6D3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6D3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3ECA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3ECA#FFFFFF#000000##FFFFFF
##6D3ECA1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#51617F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6d3eca;
/* rgb */ color: rgb(109, 62, 202);
/* oklch */ color: oklch(50.1% 0.204 293.0);
Tailwind
colors: {
  custom: {
    50: '#9f77db',
    500: '#6d3eca',
    950: '#000000',
  },
}
SCSS
$custom: #6d3eca;
$custom-light: #9f77db;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3eca",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 260.143,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5012,
    "c": 0.20367,
    "h": 293
  },
  "luminance": 0.10961
}

Semantic roles & 50–950 ramp

primary
#6D3ECA
secondary
#BCD193
accent
#E048AD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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