#6B3DCC#6B3DCC

#6B3DCC is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.0% C 0.207 H 291.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#6B3DCC
RGBrgb(107, 61, 204)
HSLhsl(259, 58%, 52%)
HSVhsv(259, 70%, 80%)
CMYKcmyk(47.5%, 70.1%, 0%, 20%)
CIE-LABlab(39.28, 52.16, -67.02)
CIE-LCHlch(39.28, 84.93, 307.89°)
OKLaboklab(49.96% 0.0772 -0.1921)
OKLCHoklch(49.96% 0.207 291.9)
XYZxyz(18.6282, 10.8223, 58.2224)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3DCC #9ECC3D
analogous
#3D57CC #6B3DCC #B33DCC
triadic
#6B3DCC #CC6B3D #3DCC6B
tetradic
#6B3DCC #CC3D57 #9ECC3D #3DCCB3
square
#6B3DCC #CC3D57 #9ECC3D #3DCCB3
split-complementary
#6B3DCC #CCB33D #57CC3D
monochromatic
#381E71 #512AA1 #6B3DCC #906DD9 #B59EE5

Accessibility & contrast

On white

6.64
#6B3DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6B3DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3DCC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3DCC#FFFFFF#000000##FFFFFF
##6B3DCC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b3dcc;
/* rgb */ color: rgb(107, 61, 204);
/* oklch */ color: oklch(50.0% 0.207 291.9);
Tailwind
colors: {
  custom: {
    50: '#9e76dd',
    500: '#6b3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #6b3dcc;
$custom-light: #9e76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3dcc",
  "rgb": {
    "r": 107,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 259.301,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49955,
    "c": 0.20708,
    "h": 291.9
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

primary
#6B3DCC
secondary
#BED293
accent
#E246B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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