#6A3BC8#6A3BC8

#6A3BC8 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.205 H 292.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6A3BC8
RGBrgb(106, 59, 200)
HSLhsl(260, 56%, 51%)
HSVhsv(260, 71%, 78%)
CMYKcmyk(47%, 70.5%, 0%, 21.6%)
CIE-LABlab(38.48, 51.92, -66.00)
CIE-LCHlch(38.48, 83.98, 308.19°)
OKLaboklab(49.26% 0.0784 -0.1892)
OKLCHoklch(49.26% 0.205 292.5)
XYZxyz(17.9302, 10.3616, 55.6876)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BC8 #99C83B
analogous
#3B52C8 #6A3BC8 #B03BC8
triadic
#6A3BC8 #C86A3B #3BC86A
tetradic
#6A3BC8 #C83B52 #99C83B #3BC8B0
square
#6A3BC8 #C83B52 #99C83B #3BC8B0
split-complementary
#6A3BC8 #C8B03B #52C83B
monochromatic
#381E6B #502B9A #6A3BC8 #8E6BD5 #B39BE3

Accessibility & contrast

On white

6.84
#6A3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6A3BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3BC8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BC8#FFFFFF#000000##FFFFFF
##6A3BC81.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#4D5F7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a3bc8;
/* rgb */ color: rgb(106, 59, 200);
/* oklch */ color: oklch(49.3% 0.205 292.5);
Tailwind
colors: {
  custom: {
    50: '#9d75da',
    500: '#6a3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bc8;
$custom-light: #9d75da;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bc8",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 260,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.20477,
    "h": 292.5
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#6A3BC8
secondary
#BACF90
accent
#DF48AD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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