#6A3DC6#6A3DC6

#6A3DC6 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.4% C 0.200 H 292.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6A3DC6
RGBrgb(106, 61, 198)
HSLhsl(260, 55%, 51%)
HSVhsv(260, 69%, 78%)
CMYKcmyk(46.5%, 69.2%, 0%, 22.4%)
CIE-LABlab(38.69, 50.36, -64.51)
CIE-LCHlch(38.69, 81.84, 307.98°)
OKLaboklab(49.36% 0.0769 -0.1848)
OKLCHoklch(49.36% 0.2 292.6)
XYZxyz(17.8028, 10.4783, 54.4996)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DC6 #99C63D
analogous
#3D54C6 #6A3DC6 #AE3DC6
triadic
#6A3DC6 #C66A3D #3DC66A
tetradic
#6A3DC6 #C63D54 #99C63D #3DC6AE
square
#6A3DC6 #C63D54 #99C63D #3DC6AE
split-complementary
#6A3DC6 #C6AE3D #54C63D
monochromatic
#381F6A #502D99 #6A3DC6 #8E6CD4 #B39CE2

Accessibility & contrast

On white

6.78
#6A3DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6A3DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3DC6
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DC6#FFFFFF#000000##FFFFFF
##6A3DC61.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#4E5F7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a3dc6;
/* rgb */ color: rgb(106, 61, 198);
/* oklch */ color: oklch(49.4% 0.200 292.6);
Tailwind
colors: {
  custom: {
    50: '#9c76d8',
    500: '#6a3dc6',
    950: '#000000',
  },
}
SCSS
$custom: #6a3dc6;
$custom-light: #9c76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3dc6",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 259.708,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49357,
    "c": 0.20014,
    "h": 292.6
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#6A3DC6
secondary
#BACE91
accent
#DE4AAD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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