#6B4ABC#6B4ABC

#6B4ABC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.6% C 0.171 H 292.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6B4ABC
RGBrgb(107, 74, 188)
HSLhsl(257, 46%, 51%)
HSVhsv(257, 61%, 74%)
CMYKcmyk(43.1%, 60.6%, 0%, 26.3%)
CIE-LABlab(40.66, 40.69, -55.46)
CIE-LCHlch(40.66, 68.79, 306.27°)
OKLaboklab(50.57% 0.0657 -0.1582)
OKLCHoklch(50.57% 0.171 292.5)
XYZxyz(17.5868, 11.6537, 48.8900)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4ABC #9BBC4A
analogous
#4A62BC #6B4ABC #A44ABC
triadic
#6B4ABC #BC6B4A #4ABC6B
tetradic
#6B4ABC #BC4A62 #9BBC4A #4ABCA4
square
#6B4ABC #BC4A62 #9BBC4A #4ABCA4
split-complementary
#6B4ABC #BCA44A #62BC4A
monochromatic
#382666 #513693 #6B4ABC #9077CD #B4A3DD

Accessibility & contrast

On white

6.30
#6B4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6B4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4ABC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4ABC#FFFFFF#000000##FFFFFF
##6B4ABC1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#54647C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6b4abc;
/* rgb */ color: rgb(107, 74, 188);
/* oklch */ color: oklch(50.6% 0.171 292.5);
Tailwind
colors: {
  custom: {
    50: '#9b7ed1',
    500: '#6b4abc',
    950: '#000000',
  },
}
SCSS
$custom: #6b4abc;
$custom-light: #9b7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4abc",
  "rgb": {
    "r": 107,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 257.368,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50571,
    "c": 0.17126,
    "h": 292.5
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#6B4ABC
secondary
#BBCA98
accent
#D652B0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82

Preview Lab

Preview with #6B4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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