#6A4BCA#6A4BCA

#6A4BCA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.187 H 289.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6A4BCA
RGBrgb(106, 75, 202)
HSLhsl(255, 55%, 54%)
HSVhsv(255, 63%, 79%)
CMYKcmyk(47.5%, 62.9%, 0%, 20.8%)
CIE-LABlab(41.78, 43.89, -61.79)
CIE-LCHlch(41.78, 75.80, 305.39°)
OKLaboklab(51.68% 0.0623 -0.1768)
OKLCHoklch(51.68% 0.187 289.4)
XYZxyz(19.1176, 12.3598, 57.2440)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4BCA #ABCA4B
analogous
#4B6CCA #6A4BCA #AA4BCA
triadic
#6A4BCA #CA6A4B #4BCA6A
tetradic
#6A4BCA #CA4B6C #ABCA4B #4BCAAA
square
#6A4BCA #CA4B6C #ABCA4B #4BCAAA
split-complementary
#6A4BCA #CAAA4B #6CCA4B
monochromatic
#382377 #4E31A7 #6A4BCA #917AD8 #B8AAE6

Accessibility & contrast

On white

6.05
#6A4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6A4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4BCA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4BCA#FFFFFF#000000##FFFFFF
##6A4BCA1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#4B6983
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a4bca;
/* rgb */ color: rgb(106, 75, 202);
/* oklch */ color: oklch(51.7% 0.187 289.4);
Tailwind
colors: {
  custom: {
    50: '#9c7fdb',
    500: '#6a4bca',
    950: '#000000',
  },
}
SCSS
$custom: #6a4bca;
$custom-light: #9c7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4bca",
  "rgb": {
    "r": 106,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 254.646,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51683,
    "c": 0.18748,
    "h": 289.4
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

primary
#6A4BCA
secondary
#C6D39D
accent
#DE4ABA
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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