#6A3CCB#6A3CCB

#6A3CCB is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.6% C 0.207 H 291.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6A3CCB
RGBrgb(106, 60, 203)
HSLhsl(259, 58%, 52%)
HSVhsv(259, 70%, 80%)
CMYKcmyk(47.8%, 70.4%, 0%, 20.4%)
CIE-LABlab(38.91, 52.23, -67.05)
CIE-LCHlch(38.91, 84.99, 307.91°)
OKLaboklab(49.64% 0.0769 -0.1923)
OKLCHoklch(49.64% 0.207 291.8)
XYZxyz(18.3362, 10.6070, 57.5696)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CCB #9DCB3C
analogous
#3C56CB #6A3CCB #B23CCB
triadic
#6A3CCB #CB6A3C #3CCB6A
tetradic
#6A3CCB #CB3C56 #9DCB3C #3CCBB2
square
#6A3CCB #CB3C56 #9DCB3C #3CCBB2
split-complementary
#6A3CCB #CBB23C #56CB3C
monochromatic
#381E6F #502A9F #6A3CCB #8F6CD8 #B49DE5

Accessibility & contrast

On white

6.73
#6A3CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6A3CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3CCB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CCB#FFFFFF#000000##FFFFFF
##6A3CCB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#4B617F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a3ccb;
/* rgb */ color: rgb(106, 60, 203);
/* oklch */ color: oklch(49.6% 0.207 291.8);
Tailwind
colors: {
  custom: {
    50: '#9d75dc',
    500: '#6a3ccb',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ccb;
$custom-light: #9d75dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ccb",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 259.301,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49642,
    "c": 0.20707,
    "h": 291.8
  },
  "luminance": 0.10608
}

Semantic roles & 50–950 ramp

primary
#6A3CCB
secondary
#BDD192
accent
#E147AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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