#6A4BBE#6A4BBE

#6A4BBE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.8% C 0.172 H 291.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6A4BBE
RGBrgb(106, 75, 190)
HSLhsl(256, 47%, 52%)
HSVhsv(256, 61%, 75%)
CMYKcmyk(44.2%, 60.5%, 0%, 25.5%)
CIE-LABlab(40.92, 40.47, -56.22)
CIE-LCHlch(40.92, 69.27, 305.75°)
OKLaboklab(50.78% 0.0631 -0.1604)
OKLCHoklch(50.78% 0.172 291.5)
XYZxyz(17.7516, 11.8135, 50.0501)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4BBE #9FBE4B
analogous
#4B66BE #6A4BBE #A44BBE
triadic
#6A4BBE #BE6A4B #4BBE6A
tetradic
#6A4BBE #BE4B66 #9FBE4B #4BBEA4
square
#6A4BBE #BE4B66 #9FBE4B #4BBEA4
split-complementary
#6A4BBE #BEA44B #66BE4B
monochromatic
#382669 #503696 #6A4BBE #8F78CE #B4A5DE

Accessibility & contrast

On white

6.24
#6A4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6A4BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4BBE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4BBE#FFFFFF#000000##FFFFFF
##6A4BBE1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#52657D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a4bbe;
/* rgb */ color: rgb(106, 75, 190);
/* oklch */ color: oklch(50.8% 0.172 291.5);
Tailwind
colors: {
  custom: {
    50: '#9b7fd2',
    500: '#6a4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #6a4bbe;
$custom-light: #9b7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4bbe",
  "rgb": {
    "r": 106,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 256.174,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.17239,
    "h": 291.5
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#6A4BBE
secondary
#BECC99
accent
#D751B3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6A4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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