#6B3ED2#6B3ED2

#6B3ED2 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.213 H 290.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6B3ED2
RGBrgb(107, 62, 210)
HSLhsl(258, 62%, 53%)
HSVhsv(258, 70%, 82%)
CMYKcmyk(49%, 70.5%, 0%, 17.6%)
CIE-LABlab(39.95, 53.29, -69.39)
CIE-LCHlch(39.95, 87.49, 307.52°)
OKLaboklab(50.59% 0.0752 -0.1991)
OKLCHoklch(50.59% 0.213 290.7)
XYZxyz(19.4156, 11.2234, 62.1036)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3ED2 #A5D23E
analogous
#3E5BD2 #6B3ED2 #B53ED2
triadic
#6B3ED2 #D26B3E #3ED26B
tetradic
#6B3ED2 #D23E5B #A5D23E #3ED2B5
square
#6B3ED2 #D23E5B #A5D23E #3ED2B5
split-complementary
#6B3ED2 #D2B53E #5BD23E
monochromatic
#391C79 #5028AB #6B3ED2 #9170DE #B7A1E9

Accessibility & contrast

On white

6.47
#6B3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6B3ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3ED2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3ED2#FFFFFF#000000##FFFFFF
##6B3ED21.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#486484
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b3ed2;
/* rgb */ color: rgb(107, 62, 210);
/* oklch */ color: oklch(50.6% 0.213 290.7);
Tailwind
colors: {
  custom: {
    50: '#9e77e1',
    500: '#6b3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ed2;
$custom-light: #9e77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ed2",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 258.243,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.21281,
    "h": 290.7
  },
  "luminance": 0.11224
}

Semantic roles & 50–950 ramp

primary
#6B3ED2
secondary
#C2D696
accent
#E543B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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