#6B3ABC#6B3ABC

#6B3ABC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.192 H 295.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6B3ABC
RGBrgb(107, 58, 188)
HSLhsl(263, 53%, 48%)
HSVhsv(263, 69%, 74%)
CMYKcmyk(43.1%, 69.1%, 0%, 26.3%)
CIE-LABlab(37.45, 49.39, -60.67)
CIE-LCHlch(37.45, 78.23, 309.15°)
OKLaboklab(48.25% 0.0829 -0.1735)
OKLCHoklch(48.25% 0.192 295.5)
XYZxyz(16.6511, 9.7824, 48.5781)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3ABC #8BBC3A
analogous
#3A4ABC #6B3ABC #AC3ABC
triadic
#6B3ABC #BC6B3A #3ABC6B
tetradic
#6B3ABC #BC3A4A #8BBC3A #3ABCAC
square
#6B3ABC #BC3A4A #8BBC3A #3ABCAC
split-complementary
#6B3ABC #BCAC3A #4ABC3A
monochromatic
#361D5E #502C8D #6B3ABC #8C64CF #AF93DE

Accessibility & contrast

On white

7.10
#6B3ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6B3ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3ABC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3ABC#FFFFFF#000000##FFFFFF
##6B3ABC1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b3abc;
/* rgb */ color: rgb(107, 58, 188);
/* oklch */ color: oklch(48.3% 0.192 295.5);
Tailwind
colors: {
  custom: {
    50: '#9c74d1',
    500: '#6b3abc',
    950: '#000000',
  },
}
SCSS
$custom: #6b3abc;
$custom-light: #9c74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3abc",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 262.615,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48251,
    "c": 0.19227,
    "h": 295.5
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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