#6A3ABF#6A3ABF

#6A3ABF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.196 H 294.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6A3ABF
RGBrgb(106, 58, 191)
HSLhsl(262, 53%, 49%)
HSVhsv(262, 70%, 75%)
CMYKcmyk(44.5%, 69.6%, 0%, 25.1%)
CIE-LABlab(37.57, 50.00, -62.23)
CIE-LCHlch(37.57, 79.83, 308.78°)
OKLaboklab(48.39% 0.081 -0.1781)
OKLCHoklch(48.39% 0.196 294.5)
XYZxyz(16.8583, 9.8514, 50.2934)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3ABF #8FBF3A
analogous
#3A4DBF #6A3ABF #AD3ABF
triadic
#6A3ABF #BF6A3A #3ABF6A
tetradic
#6A3ABF #BF3A4D #8FBF3A #3ABFAD
square
#6A3ABF #BF3A4D #8FBF3A #3ABFAD
split-complementary
#6A3ABF #BFAD3A #4DBF3A
monochromatic
#361D61 #502C90 #6A3ABF #8C66D0 #AF95DF

Accessibility & contrast

On white

7.07
#6A3ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6A3ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3ABF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3ABF#FFFFFF#000000##FFFFFF
##6A3ABF1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#525B78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a3abf;
/* rgb */ color: rgb(106, 58, 191);
/* oklch */ color: oklch(48.4% 0.196 294.5);
Tailwind
colors: {
  custom: {
    50: '#9c74d3',
    500: '#6a3abf',
    950: '#000000',
  },
}
SCSS
$custom: #6a3abf;
$custom-light: #9c74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3abf",
  "rgb": {
    "r": 106,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 261.654,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48389,
    "c": 0.19564,
    "h": 294.5
  },
  "luminance": 0.09852
}

Semantic roles & 50–950 ramp

primary
#6A3ABF
secondary
#B3CA8B
accent
#DD4BA8
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A3ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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