#6A3DCE#6A3DCE

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

Color values

HEX#6A3DCE
RGBrgb(106, 61, 206)
HSLhsl(259, 60%, 52%)
HSVhsv(259, 70%, 81%)
CMYKcmyk(48.5%, 70.4%, 0%, 19.2%)
CIE-LABlab(39.34, 52.54, -68.09)
CIE-LCHlch(39.34, 86.00, 307.65°)
OKLaboklab(50.02% 0.0754 -0.1953)
OKLCHoklch(50.02% 0.209 291.1)
XYZxyz(18.7500, 10.8572, 59.4883)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DCE #A1CE3D
analogous
#3D58CE #6A3DCE #B33DCE
triadic
#6A3DCE #CE6A3D #3DCE6A
tetradic
#6A3DCE #CE3D58 #A1CE3D #3DCEB3
square
#6A3DCE #CE3D58 #A1CE3D #3DCEB3
split-complementary
#6A3DCE #CEB33D #58CE3D
monochromatic
#381D73 #5029A4 #6A3DCE #906EDA #B59FE7

Accessibility & contrast

On white

6.62
#6A3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6A3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3DCE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DCE#FFFFFF#000000##FFFFFF
##6A3DCE1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#496281
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a3dce;
/* rgb */ color: rgb(106, 61, 206);
/* oklch */ color: oklch(50.0% 0.209 291.1);
Tailwind
colors: {
  custom: {
    50: '#9d76de',
    500: '#6a3dce',
    950: '#000000',
  },
}
SCSS
$custom: #6a3dce;
$custom-light: #9d76de;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3dce",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 258.621,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.20936,
    "h": 291.1
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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