#6A3BC1#6A3BC1

#6A3BC1 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.197 H 293.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6A3BC1
RGBrgb(106, 59, 193)
HSLhsl(261, 53%, 49%)
HSVhsv(261, 69%, 76%)
CMYKcmyk(45.1%, 69.4%, 0%, 24.3%)
CIE-LABlab(37.92, 50.03, -62.84)
CIE-LCHlch(37.92, 80.33, 308.52°)
OKLaboklab(48.68% 0.0797 -0.1799)
OKLCHoklch(48.68% 0.197 293.9)
XYZxyz(17.1308, 10.0419, 51.4774)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BC1 #92C13B
analogous
#3B4FC1 #6A3BC1 #AD3BC1
triadic
#6A3BC1 #C16A3B #3BC16A
tetradic
#6A3BC1 #C13B4F #92C13B #3BC1AD
square
#6A3BC1 #C13B4F #92C13B #3BC1AD
split-complementary
#6A3BC1 #C1AD3B #4FC13B
monochromatic
#371E63 #502D92 #6A3BC1 #8D68D1 #B097DF

Accessibility & contrast

On white

6.98
#6A3BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6A3BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3BC1
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BC1#FFFFFF#000000##FFFFFF
##6A3BC11.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#515C7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a3bc1;
/* rgb */ color: rgb(106, 59, 193);
/* oklch */ color: oklch(48.7% 0.197 293.9);
Tailwind
colors: {
  custom: {
    50: '#9c75d5',
    500: '#6a3bc1',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bc1;
$custom-light: #9c75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bc1",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 261.045,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.19675,
    "h": 293.9
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#6A3BC1
secondary
#B5CB8D
accent
#DD4BAA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A3BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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