#6A3BCC#6A3BCC

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

Color values

HEX#6A3BCC
RGBrgb(106, 59, 204)
HSLhsl(259, 59%, 52%)
HSVhsv(259, 71%, 80%)
CMYKcmyk(48%, 71.1%, 0%, 20%)
CIE-LABlab(38.81, 53.00, -67.79)
CIE-LCHlch(38.81, 86.05, 308.02°)
OKLaboklab(49.6% 0.0776 -0.1944)
OKLCHoklch(49.6% 0.209 291.8)
XYZxyz(18.4038, 10.5511, 58.1819)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BCC #9DCC3B
analogous
#3B55CC #6A3BCC #B23BCC
triadic
#6A3BCC #CC6A3B #3BCC6A
tetradic
#6A3BCC #CC3B55 #9DCC3B #3BCCB2
square
#6A3BCC #CC3B55 #9DCC3B #3BCCB2
split-complementary
#6A3BCC #CCB23B #55CC3B
monochromatic
#381D70 #502AA0 #6A3BCC #8F6CD9 #B49CE5

Accessibility & contrast

On white

6.75
#6A3BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6A3BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3BCC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BCC#FFFFFF#000000##FFFFFF
##6A3BCC1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#4B6180
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a3bcc;
/* rgb */ color: rgb(106, 59, 204);
/* oklch */ color: oklch(49.6% 0.209 291.8);
Tailwind
colors: {
  custom: {
    50: '#9d75dd',
    500: '#6a3bcc',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bcc;
$custom-light: #9d75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bcc",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 259.448,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49599,
    "c": 0.20933,
    "h": 291.8
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A3BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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