#6A3ABC#6A3ABC

#6A3ABC is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.192 H 295.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#6A3ABC
RGBrgb(106, 58, 188)
HSLhsl(262, 53%, 48%)
HSVhsv(262, 69%, 74%)
CMYKcmyk(43.6%, 69.1%, 0%, 26.3%)
CIE-LABlab(37.34, 49.20, -60.86)
CIE-LCHlch(37.34, 78.26, 308.96°)
OKLaboklab(48.15% 0.0815 -0.1741)
OKLCHoklch(48.15% 0.192 295.1)
XYZxyz(16.5316, 9.7207, 48.5725)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3ABC #8CBC3A
analogous
#3A4BBC #6A3ABC #AB3ABC
triadic
#6A3ABC #BC6A3A #3ABC6A
tetradic
#6A3ABC #BC3A4B #8CBC3A #3ABCAB
square
#6A3ABC #BC3A4B #8CBC3A #3ABCAB
split-complementary
#6A3ABC #BCAB3A #4BBC3A
monochromatic
#351D5E #502C8D #6A3ABC #8C64CF #AE93DE

Accessibility & contrast

On white

7.13
#6A3ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6A3ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3ABC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3ABC#FFFFFF#000000##FFFFFF
##6A3ABC1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#545A76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a3abc;
/* rgb */ color: rgb(106, 58, 188);
/* oklch */ color: oklch(48.1% 0.192 295.1);
Tailwind
colors: {
  custom: {
    50: '#9b74d1',
    500: '#6a3abc',
    950: '#000000',
  },
}
SCSS
$custom: #6a3abc;
$custom-light: #9b74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3abc",
  "rgb": {
    "r": 106,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 262.154,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48145,
    "c": 0.1922,
    "h": 295.1
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#6A3ABC
secondary
#B1C989
accent
#DC4CA7
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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